Searched defs:noreturn (Results 1 - 3 of 3) sorted by relevance

/external/clang/lib/Headers/
H A Dstdnoreturn.h1 /*===---- stdnoreturn.h - Standard header for noreturn macro ---------------===
27 #define noreturn _Noreturn macro
/external/clang/test/SemaCXX/
H A Dnew-delete-0x.cpp4 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);
H A Dcxx11-gnu-attrs.cpp41 // [[gnu::noreturn]] appertains to a declaration, and marks the innermost
42 // function declarator in that declaration as being noreturn.
43 int noreturn [[gnu::noreturn]]; // expected-warning {{'noreturn' only applies to function types}} variable
45 int noreturn_fn_2() [[gnu::noreturn]]; // expected-warning {{cannot be applied to a type}}
46 int noreturn_fn_3 [[gnu::noreturn]] ();
47 [[gnu::noreturn]] int noreturn_fn_4();
48 int (*noreturn_fn_ptr_1 [[gnu::noreturn]])() = &noreturn_fn_1; // expected-error {{cannot initialize}}
49 int (*noreturn_fn_ptr_2 [[gnu::noreturn]])()
[all...]

Completed in 171 milliseconds