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

1 2 3 4 5 6 7 8 9

  /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}}
initialize-noreturn.c 4 typedef void (*Fn_noret)(void) __attribute__((noreturn));
8 void foo_noret(void) __attribute__((noreturn));
MicrosoftCompatibility.c 14 __declspec(noreturn) void f6( void ) {
15 return; // expected-warning {{function 'f6' declared 'noreturn' should not return}}
  /external/clang/test/PCH/
functions.h 11 void do_abort(int) __attribute__((noreturn));
functions.c 22 void __attribute__((noreturn)) test_abort(int code) {
  /external/clang/test/Parser/
cxx11-stmt-attributes.cpp 31 [[noreturn]] { } // expected-warning {{attribute noreturn cannot be specified on a statement}}
32 [[noreturn]] if (0) { } // expected-warning {{attribute noreturn cannot be specified on a statement}}
33 [[noreturn]] for (;;); // expected-warning {{attribute noreturn cannot be specified on a statement}}
34 [[noreturn]] do { // expected-warning {{attribute noreturn cannot be specified on a statement}}
35 [[unavailable]] continue; // TODO: only noreturn, alignas and carries_dependency are parsed in C++ 11 syntax at the moment, hence no warning here
40 [[unused]] switch (i) { // TODO: only noreturn, alignas and carries_dependency are parsed in C++ 11 syntax at the moment, hence no warning her
    [all...]
attributes.c 52 void __attribute__((noreturn)) d0(void), __attribute__((noreturn)) d1(void);
54 void d2(void) __attribute__((noreturn)), d3(void) __attribute__((noreturn));
72 // noreturn is lifted to type qualifier
73 void testFundef2() __attribute__((noreturn)) { // \
74 // expected-warning {{GCC does not allow noreturn attribute in this position on a function definition}}
  /external/clang/test/SemaCXX/
new-delete-0x.cpp 4 struct noreturn_t {} constexpr noreturn = {}; variable in typeref:struct:noreturn_t
6 void *operator new [[noreturn]] (size_t, noreturn_t);
7 void operator delete [[noreturn]] (void*, noreturn_t);
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}}
  /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/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)
  /prebuilts/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)
  /prebuilts/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)
  /prebuilts/ndk/android-ndk-r7/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/compiler-rt/lib/
int_util.h 27 const char *function) __attribute__((noreturn));
int_util.c 26 extern void panic(const char *, ...) __attribute__((noreturn));
36 int line, const char * message) __attribute__((noreturn));
  /external/valgrind/main/coregrind/
pub_core_libcprint.h 59 __attribute__((noreturn))
64 __attribute__((noreturn))
  /external/clang/test/CodeGen/
ms-declspecs.c 14 // CHECK: noreturn
15 __declspec(noreturn) void f20_t(void);
2007-09-27-ComplexIntCompare.c 4 void __attribute__((noreturn)) abort(void);
unreachable.c 4 extern void abort() __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,

Completed in 1265 milliseconds

1 2 3 4 5 6 7 8 9