/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...] |
cxx1y-deduced-return-type.cpp | 304 namespace NoReturn {
|
/external/clang/test/Analysis/ |
temp-obj-dtors-cfg-output.cpp | 143 class NoReturn { 145 ~NoReturn() __attribute__((noreturn)); 151 NoReturn().f(); 157 NoReturn(), 47; 161 extern bool check(const NoReturn&); 166 if (!value || check(NoReturn())) { 176 if (!value || !value || check(NoReturn())) { 186 if (!value || value || check(NoReturn())) { [all...] |
dtor.cpp | 380 ~NRCheck() __attribute__((noreturn)); 469 namespace NoReturn { 471 ~NR() __attribute__((noreturn));
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
TargetFrameLoweringImpl.cpp | 40 assert(MF.getFunction().hasFnAttribute(Attribute::NoReturn) && 95 // Noreturn+nounwind functions never restore CSR, so no saves are needed. 96 // Purely noreturn functions may still return through throws, so those must 102 if (MF.getFunction().hasFnAttribute(Attribute::NoReturn) &&
|
MachineRegisterInfo.cpp | 564 // Anything which is not a noreturn function is a real def. 577 return !(Called == nullptr || !Called->hasFnAttribute(Attribute::NoReturn) ||
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
Attributes.h | 39 const Attributes NoReturn = 1<<2; ///< Mark the function as not returning 92 const Attributes FunctionOnly = NoReturn | NoUnwind | ReadNone | ReadOnly |
|
Function.h | 238 return hasFnAttr(Attribute::NoReturn); 241 if (DoesNotReturn) addFnAttr(Attribute::NoReturn); 242 else removeFnAttr(Attribute::NoReturn);
|
Instructions.h | [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
AttributesTest.cpp | 56 B.addAttribute(Attribute::NoReturn); 58 EXPECT_TRUE(AL.hasFnAttribute(Attribute::NoReturn)); 63 EXPECT_TRUE(AL.hasFnAttribute(Attribute::NoReturn));
|
/external/llvm/lib/Transforms/IPO/ |
ForceFunctionAttrs.cpp | 44 .Case("noreturn", Attribute::NoReturn)
|
PruneEH.cpp | 38 STATISTIC(NumUnreach, "Number of noreturn calls optimized"); 164 if (!SCCMightReturn && !F->hasFnAttribute(Attribute::NoReturn)) { 165 F->addFnAttr(Attribute::NoReturn);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
ForceFunctionAttrs.cpp | 44 .Case("noreturn", Attribute::NoReturn)
|
PruneEH.cpp | 37 STATISTIC(NumUnreach, "Number of noreturn calls optimized"); 160 if (!SCCMightReturn && !F->hasFnAttribute(Attribute::NoReturn)) { 161 F->addFnAttr(Attribute::NoReturn);
|
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/ |
p3.cpp | 223 constexpr int NoReturn() {} // expected-error {{no return statement in constexpr function}}
|
/external/clang/include/clang/CodeGen/ |
CGFunctionInfo.h | 472 /// Whether this function is noreturn. 473 unsigned NoReturn : 1; 557 bool isNoReturn() const { return NoReturn; } 624 ID.AddBoolean(NoReturn);
|
/external/llvm/include/llvm/IR/ |
Function.h | 336 return hasFnAttribute(Attribute::NoReturn); 339 addFnAttr(Attribute::NoReturn);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
Function.h | 496 return hasFnAttribute(Attribute::NoReturn); 499 addFnAttr(Attribute::NoReturn);
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
Function.h | 359 return hasFnAttribute(Attribute::NoReturn); 362 addFnAttr(Attribute::NoReturn);
|
/external/v8/src/compiler/ |
dead-code-elimination.cc | 32 bool NoReturn(Node* node) { 41 if (NoReturn(input)) return input;
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
PruneEH.cpp | 34 STATISTIC(NumUnreach, "Number of noreturn calls optimized"); 146 NewAttributes |= Attribute::NoReturn;
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
Attributes.cpp | 35 if (Attrs & Attribute::NoReturn) 36 Result += "noreturn ";
|
/external/python/cpython3/Lib/test/ |
test_typing.py | 9 from typing import Any, NoReturn 114 isinstance(42, NoReturn) 118 issubclass(Employee, NoReturn) 120 issubclass(NoReturn, Employee) 123 self.assertEqual(repr(NoReturn), 'typing.NoReturn') 127 NoReturn[int] 131 class A(NoReturn): 134 class A(type(NoReturn)): 139 NoReturn() [all...] |
/external/llvm/lib/CodeGen/ |
MachineRegisterInfo.cpp | 487 // Anything which is not a noreturn function is a real def. 500 return !(Called == nullptr || !Called->hasFnAttribute(Attribute::NoReturn) ||
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/ |
WebAssemblyLowerEmscriptenEHSjLj.cpp | 397 // If we are calling a function that is noreturn, we must remove that 402 F->removeFnAttr(Attribute::NoReturn); 403 CI->removeAttribute(AttributeList::FunctionIndex, Attribute::NoReturn); [all...] |