HomeSort by relevance Sort by last modified time
    Searched refs:noreturn (Results 1 - 25 of 172) sorted by null

1 2 3 4 5 6 7

  /external/clang/test/Sema/
block-return-2.c 4 ^ (void) __attribute__((noreturn)) { }(); // expected-error {{block declared 'noreturn' should not return}}
attr-noreturn.c 3 static void (*fp0)(void) __attribute__((noreturn));
7 static void __attribute__((noreturn)) f0(void) {
9 } // expected-warning {{function declared 'noreturn' should not return}}
12 int f1() __attribute__((noreturn));
14 int g0 __attribute__((noreturn)); // expected-warning {{'noreturn' only applies to function types; type here is 'int'}}
16 int f2() __attribute__((noreturn(1, 2))); // expected-error {{attribute takes no arguments}}
18 void f3() __attribute__((noreturn));
20 return; // expected-warning {{function 'f3' declared 'noreturn' should not return}}
23 #pragma clang diagnostic error "-Winvalid-noreturn"
    [all...]
warn-unused-label.c 8 d: __attribute__((noreturn)); // expected-warning {{'noreturn' attribute only applies to functions}}
return-noreturn.c 1 // RUN: %clang_cc1 %s -fsyntax-only -verify -fblocks -Wmissing-noreturn -Wno-unreachable-code
4 void test1() { // expected-warning {{function could be attribute 'noreturn'}}
5 ^ (void) { while (1) { } }(); // expected-warning {{block could be attribute 'noreturn'}}
17 } // expected-warning{{function declared 'noreturn' should not return}}
21 // because the function is marked noreturn and there is an infinite loop.
29 } // expected-warning{{function declared 'noreturn' should not return}}
32 // PR5298 - -Wmissing-noreturn shouldn't warn if the function is already
33 // declared noreturn.
34 void __attribute__((noreturn))
return.c 36 void halt2() __attribute__((noreturn));
63 int halt3() __attribute__((noreturn));
161 void (*fptr)() __attribute__((noreturn));
192 void test28() __attribute__((noreturn));
214 void test31(test31_t *callback __attribute__((noreturn)));
  /external/clang/test/PCH/
functions.h 11 void do_abort(int) __attribute__((noreturn));
functions.c 22 void __attribute__((noreturn)) test_abort(int code) {
  /external/qemu/android/utils/
panic.h 18 void __attribute__((noreturn)) android_panic ( const char* fmt, ... );
21 void __attribute__((noreturn)) android_vpanic( const char* fmt, va_list args );
26 typedef void (*APanicHandlerFunc)(const char*, va_list) __attribute__((noreturn));
  /external/clang/test/SemaCXX/
attr-noreturn.cpp 7 __attribute__((noreturn)) void fail();
25 // Taking the address of a noreturn function
28 void (*fp1)() __attribute__((noreturn)) = f0;
31 // Taking the address of an overloaded noreturn function
36 void (*fp1)() __attribute__((noreturn)) = f0;
40 typedef void (* noreturn_fp)() __attribute__((noreturn));
51 int blah() __attribute__((noreturn));
55 return 3; // expected-warning {{function 'blah' declared 'noreturn' should not return}}
return-noreturn.cpp 1 // RUN: %clang_cc1 %s -fsyntax-only -verify -Wreturn-type -Wmissing-noreturn -Wno-unreachable-code
3 // A destructor may be marked noreturn and should still influence the CFG.
4 void pr6884_abort() __attribute__((noreturn));
8 ~pr6884_abort_struct() __attribute__((noreturn)) { pr6884_abort(); }
warn-unreachable.cpp 3 int &halt() __attribute__((noreturn));
65 S &foor() __attribute__((noreturn));
  /external/stlport/stlport/stl/
_range_errors.h 43 # pragma noreturn(__stl_throw_runtime_error)
44 # pragma noreturn(__stl_throw_range_error)
45 # pragma noreturn(__stl_throw_out_of_range)
46 # pragma noreturn(__stl_throw_length_error)
47 # pragma noreturn(__stl_throw_invalid_argument)
48 # pragma noreturn(__stl_throw_overflow_error)
  /ndk/sources/cxx-stl/stlport/stlport/stl/
_range_errors.h 43 # pragma noreturn(__stl_throw_runtime_error)
44 # pragma noreturn(__stl_throw_range_error)
45 # pragma noreturn(__stl_throw_out_of_range)
46 # pragma noreturn(__stl_throw_length_error)
47 # pragma noreturn(__stl_throw_invalid_argument)
48 # pragma noreturn(__stl_throw_overflow_error)
  /prebuilt/ndk/android-ndk-r5/sources/cxx-stl/stlport/stlport/stl/
_range_errors.h 43 # pragma noreturn(__stl_throw_runtime_error)
44 # pragma noreturn(__stl_throw_range_error)
45 # pragma noreturn(__stl_throw_out_of_range)
46 # pragma noreturn(__stl_throw_length_error)
47 # pragma noreturn(__stl_throw_invalid_argument)
48 # pragma noreturn(__stl_throw_overflow_error)
  /prebuilt/ndk/android-ndk-r6/sources/cxx-stl/stlport/stlport/stl/
_range_errors.h 43 # pragma noreturn(__stl_throw_runtime_error)
44 # pragma noreturn(__stl_throw_range_error)
45 # pragma noreturn(__stl_throw_out_of_range)
46 # pragma noreturn(__stl_throw_length_error)
47 # pragma noreturn(__stl_throw_invalid_argument)
48 # pragma noreturn(__stl_throw_overflow_error)
  /external/clang/test/PCH/Inputs/
chain-decls2.h 12 void noret() __attribute__((noreturn));
  /external/valgrind/main/coregrind/
pub_core_libcprint.h 59 __attribute__((noreturn))
64 __attribute__((noreturn))
  /external/iproute2/include/
iptables_common.h 15 extern void exit_printhelp(void) __attribute__((noreturn));
16 extern void exit_tryhelp(int) __attribute__((noreturn));
32 void exit_error(enum exittype, char *, ...)__attribute__((noreturn,
  /external/clang/test/CodeGen/
unreachable.c 4 extern void abort() __attribute__((noreturn));
attributes.c 39 // CHECK: define void @t1() noreturn nounwind {
40 void t1() __attribute__((noreturn));
55 // CHECK: define void @t7() noreturn nounwind {
56 void t7() __attribute__((noreturn, nothrow));
  /external/clang/test/Parser/
attributes.c 52 void __attribute__((noreturn)) d0(void), __attribute__((noreturn)) d1(void);
54 void d2(void) __attribute__((noreturn)), d3(void) __attribute__((noreturn));
  /external/valgrind/main/VEX/priv/
main_globals.c 49 __attribute__ ((noreturn))
main_globals.h 50 __attribute__ ((noreturn))
  /bionic/libc/kernel/common/linux/
linkage.h 58 #define ATTRIB_NORET __attribute__((noreturn))
59 #define NORET_AND noreturn,
  /development/ndk/platforms/android-3/include/linux/
linkage.h 58 #define ATTRIB_NORET __attribute__((noreturn))
59 #define NORET_AND noreturn,

Completed in 1749 milliseconds

1 2 3 4 5 6 7