Searched refs:_Noreturn (Results 1 – 18 of 18) sorted by relevance
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | c11-noreturn.c | 4 _Noreturn int f(void); 5 int _Noreturn f(void); // expected-note {{previous}} 6 int f _Noreturn(); // expected-error {{expected ';'}} expected-error 2{{}} 7 int f(void) _Noreturn; // expected-error {{'_Noreturn' keyword must precede function declarator}} 9 _Noreturn char c1; // expected-error {{'_Noreturn' can only appear on functions}} 10 char _Noreturn c2; // expected-error {{'_Noreturn' can only appear on functions}} 12 typedef _Noreturn int g(void); // expected-error {{'_Noreturn' can only appear on functions}} 14 _Noreturn int; // expected-error {{'_Noreturn' can only appear on functions}} expected-warning {{do… 15 _Noreturn struct S; // expected-error {{'_Noreturn' can only appear on functions}} 16 _Noreturn enum E { e }; // expected-error {{'_Noreturn' can only appear on functions}}
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | c2x-noreturn.c | 12 #if !__has_c_attribute(_Noreturn) 16 #if __has_c_attribute(noreturn) != __has_c_attribute(_Noreturn) || \ 31 _Noreturn void func1(void); // ok, using the function specifier 36 [[_Noreturn]] void func3(void); // all-warning {{the '[[_Noreturn]]' attribute spelling is deprecat… 51 [[_Noreturn]] void func10(void); // all-warning {{the '[[_Noreturn]]' attribute spelling is depreca… 58 #if !__has_c_attribute(_Noreturn) 64 #define NORETURN _Noreturn
|
| H A D | declspec.c | 51 _Noreturn _Noreturn void pr8264_7(void); // expected-warning {{duplicate '_Noreturn' declaration s…
|
| H A D | warn-main.c | 27 _Noreturn int main(void) { in main()
|
| H A D | return-noreturn.c | 40 _Noreturn void test5(void) { in test5()
|
| /llvm-project-15.0.7/clang/test/FixIt/ |
| H A D | fixit-errors.c | 27 void noreturn_1(void) _Noreturn; // expected-error {{must precede function declarator}} 31 void noreturn_2(void) _Noreturn { // expected-error {{must precede function declarator}} in noreturn_2()
|
| /llvm-project-15.0.7/libc/include/ |
| H A D | __llvm-libc-common.h | 20 #undef _Noreturn 21 #define _Noreturn [[noreturn]] macro
|
| /llvm-project-15.0.7/clang/lib/Headers/ |
| H A D | stdnoreturn.h | 13 #define noreturn _Noreturn
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | function-attributes.c | 43 _Noreturn void f9a(void);
|
| /llvm-project-15.0.7/libc/spec/ |
| H A D | spec.td | 66 // _Noreturn is really not a type, but it is convenient to treat it as a type. 67 def NoReturn : NamedType<"_Noreturn void">;
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/X86/ |
| H A D | noreturn_c11.ll | 4 ; _Noreturn void f() {
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | stream.c | 245 _Noreturn void handle_error(void);
|
| /llvm-project-15.0.7/libc/config/linux/ |
| H A D | api.td | 21 _Noreturn void __assert_fail(const char *, const char *, unsigned, const char *);
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | TokenKinds.def | 327 KEYWORD(_Noreturn , KEYALL)
|
| H A D | AttrDocs.td | 491 A function declared as ``_Noreturn`` shall not return to its caller. The 492 compiler will generate a diagnostic for a function declared as ``_Noreturn`` 494 specifier, the ``_Noreturn`` attribute cannot be specified on a function 501 let Heading = "noreturn, _Noreturn"; 507 The ``[[_Noreturn]]`` spelling is deprecated and only exists to ease code
|
| H A D | Attr.td | 1243 let Spellings = [Keyword<"_Noreturn">]; 1251 C2x<"", "noreturn", 202202>, C2x<"", "_Noreturn", 202202>];
|
| H A D | DiagnosticParseKinds.td | 167 "'_Noreturn' keyword must precede function declarator">;
|
| H A D | DiagnosticSemaKinds.td | 439 "'_Noreturn' can only appear on functions">; 863 "'main' is not allowed to be declared _Noreturn">, InGroup<Main>; 864 def note_main_remove_noreturn : Note<"remove '_Noreturn'">; 4076 "the '[[_Noreturn]]' attribute spelling is deprecated in C2x; use "
|