/external/clang/test/SemaCXX/ |
return-noreturn.cpp | 1 // RUN: %clang_cc1 %s -fsyntax-only -fcxx-exceptions -verify -Wreturn-type -Wmissing-noreturn -Wno-unreachable-code -Wno-covered-switch-default 2 // RUN: %clang_cc1 %s -fsyntax-only -fcxx-exceptions -std=c++11 -verify -Wreturn-type -Wmissing-noreturn -Wno-unreachable-code -Wno-covered-switch-default 4 // A destructor may be marked noreturn and should still influence the CFG. 5 void pr6884_abort() __attribute__((noreturn)); 9 ~pr6884_abort_struct() __attribute__((noreturn)) { pr6884_abort(); } 43 // FIXME: detect noreturn destructors triggered by calls to delete. 149 struct NoReturn { 150 ~NoReturn() __attribute__((noreturn)); 159 true ? NoReturn() : NoReturn() [all...] |
cxx11-gnu-attrs.cpp | 57 // [[gnu::noreturn]] appertains to a declaration, and marks the innermost 58 // function declarator in that declaration as being noreturn. 59 int noreturn [[gnu::noreturn]]; // expected-warning {{'noreturn' only applies to function types}} variable 61 int noreturn_fn_2() [[gnu::noreturn]]; // expected-warning {{cannot be applied to a type}} 62 int noreturn_fn_3 [[gnu::noreturn]] (); 63 [[gnu::noreturn]] int noreturn_fn_4(); 64 int (*noreturn_fn_ptr_1 [[gnu::noreturn]])() = &noreturn_fn_1; // expected-error {{cannot initialize}} 65 int (*noreturn_fn_ptr_2 [[gnu::noreturn]])() = &noreturn_fn_3 [all...] |
warn-missing-noreturn.cpp | 1 // RUN: %clang_cc1 -fsyntax-only -verify %s -Wmissing-noreturn -Wreturn-type 2 void f() __attribute__((noreturn)); 57 void *h() __attribute__((noreturn)); 64 A(int) : f(h()) { } // expected-warning {{function 'A' could be declared with attribute 'noreturn'}}
|
/external/llvm/test/CodeGen/X86/ |
switch-order-weight.ll | 20 tail call void @unr(i32 23) noreturn nounwind 28 tail call void @unr(i32 5) noreturn nounwind 35 declare void @unr(i32) noreturn
|
2008-09-26-FrameAddrBug.ll | 11 define hidden void @_Unwind_Resume(%struct._Unwind_Exception* %exc) noreturn noreturn {
|
/external/clang/test/Parser/ |
cxx11-base-spec-attributes.cpp | 9 struct G : [[noreturn]] A {}; // expected-error {{'noreturn' attribute cannot be applied to a base specifier}}
|
cxx11-stmt-attributes.cpp | 31 [[noreturn]] { } // expected-error {{'noreturn' attribute cannot be applied to a statement}} 32 [[noreturn]] if (0) { } // expected-error {{'noreturn' attribute cannot be applied to a statement}} 33 [[noreturn]] for (;;); // expected-error {{'noreturn' attribute cannot be applied to a statement}} 34 [[noreturn]] do { // expected-error {{'noreturn' attribute cannot be applied to a statement}}
|
/external/google-benchmark/src/ |
internal_macros.h | 11 # define BENCHMARK_NORETURN [[noreturn]] 13 # define BENCHMARK_NORETURN __attribute__((noreturn))
|
/external/llvm/test/CodeGen/Mips/ |
micromips-gp-rc.ll | 6 ; Function Attrs: noreturn nounwind 14 ; Function Attrs: noreturn
|
/external/llvm/test/CodeGen/PowerPC/ |
pr3711_widen_bit.ll | 11 tail call void @abort() noreturn nounwind 18 declare void @abort() noreturn nounwind
|
/external/bison/build-aux/snippet/ |
_Noreturn.h | 6 # define _Noreturn __declspec (noreturn)
|
/external/clang/test/CodeGen/ |
2007-09-27-ComplexIntCompare.c | 4 void __attribute__((noreturn)) abort(void);
|
invalid_global_asm.c | 3 #pragma clang diagnostic ignored "-Wmissing-noreturn"
|
unreachable.c | 4 extern void abort() __attribute__((noreturn));
|
/external/llvm/test/CodeGen/XCore/ |
trap.ll | 2 define i32 @test() noreturn nounwind {
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/exception/detail/ |
attribute_noreturn.hpp | 10 #define BOOST_ATTRIBUTE_NORETURN __declspec(noreturn)
|
/external/clang/test/CodeGenObjC/ |
attr-noreturn.m | 13 + (void) abort __attribute__((noreturn)); 14 - (void) fail __attribute__((noreturn)); 32 // CHECK: call void bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to void (i8*, i8*)*)(i8* {{.*}}, i8* {{.*}}) [[NORETURN:#[0-9]+]] 39 + (void) abort __attribute__((noreturn)); 63 // CHECK-ARC: call void bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to void (i8*, i8*)*)(i8* {{.*}}, i8* {{.*}}) [[NORETURN]] 80 // CHECK-ARC: call void bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to void (i8*, i8*)*)(i8* {{.*}}, i8* {{.*}}) [[NORETURN]] 89 // CHECK: call void bitcast (i8* ([[SUPER_T:%.*]]*, i8*, ...)* @objc_msgSendSuper2 to void ([[SUPER_T]]*, i8*)*)([[SUPER_T]]* {{.*}}, i8* {{.*}}) [[NORETURN]] 95 // CHECK: call void bitcast (i8* ([[SUPER_T]]*, i8*, ...)* @objc_msgSendSuper2 to void ([[SUPER_T]]*, i8*)*)([[SUPER_T]]* {{.*}}, i8* {{.*}}) [[NORETURN]] 98 // CHECK: attributes [[NORETURN]] = { noreturn } [all...] |
/external/llvm/test/Instrumentation/AddressSanitizer/ |
instrument-no-return.ll | 3 ; before every noreturn call or invoke. 8 declare void @MyNoReturnFunc(i32) noreturn 12 call void @MyNoReturnFunc(i32 1) noreturn ; The call insn has noreturn attr. 22 call void @MyNoReturnFunc(i32 1) ; No noreturn attribure on the call.
|
/external/llvm/test/Transforms/LoopUnswitch/ |
infinite-loop.ll | 45 call void @end0() noreturn nounwind 49 call void @end1() noreturn nounwind 53 declare void @end0() noreturn 54 declare void @end1() noreturn 57 ; CHECK: attributes #1 = { noreturn } 58 ; CHECK: attributes [[NOR_NUW]] = { noreturn nounwind }
|
/external/llvm/test/CodeGen/Generic/ |
2007-12-31-UnusedSelector.ll | 10 invoke void @__cxa_throw( i8* null, i8* bitcast (%struct.__class_type_info_pseudo* @_ZTI2e1 to i8*), void (i8*)* null ) noreturn 31 declare void @__cxa_throw(i8*, i8*, void (i8*)*) noreturn
|
/external/llvm/test/Linker/ |
link-global-to-func.ll | 2 ; RUN: echo "declare void @__eprintf(i8*, i8*, i32, i8*) noreturn define void @foo() { tail call void @__eprintf( i8* undef, i8* undef, i32 4, i8* null ) noreturn nounwind unreachable }" | llvm-as -o %t2.bc
|
/external/llvm/test/Transforms/IPConstantProp/ |
user-with-multiple-uses.ll | 12 define i32 @main() noreturn nounwind { 32 ; CHECK: attributes #0 = { noreturn nounwind }
|
/external/llvm/test/CodeGen/ARM/ |
noreturn.ll | 13 ; Function Attrs: noreturn nounwind 63 ; Function Attrs: noreturn 66 attributes #0 = { noreturn nounwind } 67 attributes #1 = { noreturn }
|
/external/llvm/test/Transforms/CorrelatedValuePropagation/ |
icmp.ll | 6 ; Function Attrs: noreturn 9 ; Function Attrs: noreturn 32 ; Function Attrs: noreturn 63 attributes #4 = { noreturn }
|
/external/llvm/test/Transforms/InstCombine/ |
cast-call-combine.ll | 7 define void @bar() noinline noreturn {
|