/external/clang/test/SemaCXX/ |
D | return-noreturn.cpp | 149 struct NoReturn { struct 150 ~NoReturn() __attribute__((noreturn)); 159 true ? NoReturn() : NoReturn(); in testTernaryUnconditionalNoreturn() 163 true ? NoReturn() : Return(); in testTernaryStaticallyConditionalNoretrunOnTrue() 167 true ? Return() : NoReturn(); in testTernaryStaticallyConditionalRetrunOnTrue() 171 false ? Return() : NoReturn(); in testTernaryStaticallyConditionalNoretrunOnFalse() 175 false ? NoReturn() : Return(); in testTernaryStaticallyConditionalRetrunOnFalse() 179 value ? (NoReturn() || NoReturn()) : Return(); in testTernaryConditionalNoreturnTrueBranch() 183 value ? Return() : (NoReturn() || NoReturn()); in testTernaryConditionalNoreturnFalseBranch() 187 value || (true ? NoReturn() : true); in testConditionallyExecutedComplexTernaryTrueBranch() [all …]
|
D | cxx1y-deduced-return-type.cpp | 304 namespace NoReturn { namespace
|
/external/clang/test/Analysis/ |
D | temp-obj-dtors-cfg-output.cpp | 143 class NoReturn { class 145 ~NoReturn() __attribute__((noreturn)); 151 NoReturn().f(); in test_noreturn1() 157 NoReturn(), 47; in test_noreturn2() 161 extern bool check(const NoReturn&); 166 if (!value || check(NoReturn())) { in testConsistencyNestedSimple() 176 if (!value || !value || check(NoReturn())) { in testConsistencyNestedComplex() 186 if (!value || value || check(NoReturn())) { in testConsistencyNestedNormalReturn()
|
D | dtor.cpp | 469 namespace NoReturn { namespace
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Function.h | 238 return hasFnAttr(Attribute::NoReturn); 241 if (DoesNotReturn) addFnAttr(Attribute::NoReturn); 242 else removeFnAttr(Attribute::NoReturn);
|
D | Attributes.h | 39 const Attributes NoReturn = 1<<2; ///< Mark the function as not returning variable 92 const Attributes FunctionOnly = NoReturn | NoUnwind | ReadNone | ReadOnly |
|
D | Instructions.h | 1298 bool doesNotReturn() const { return paramHasAttr(~0, Attribute::NoReturn); } 1300 if (DoesNotReturn) addAttribute(~0, Attribute::NoReturn); 1301 else removeAttribute(~0, Attribute::NoReturn); 2770 bool doesNotReturn() const { return paramHasAttr(~0, Attribute::NoReturn); } 2772 if (DoesNotReturn) addAttribute(~0, Attribute::NoReturn); 2773 else removeAttribute(~0, Attribute::NoReturn);
|
/external/llvm/lib/Transforms/IPO/ |
D | PruneEH.cpp | 164 if (!SCCMightReturn && !F->hasFnAttribute(Attribute::NoReturn)) { in runImpl() 165 F->addFnAttr(Attribute::NoReturn); in runImpl()
|
D | ForceFunctionAttrs.cpp | 44 .Case("noreturn", Attribute::NoReturn) in parseAttrKind()
|
/external/clang/include/clang/CodeGen/ |
D | CGFunctionInfo.h | 473 unsigned NoReturn : 1; variable 557 bool isNoReturn() const { return NoReturn; } in isNoReturn() 624 ID.AddBoolean(NoReturn); in Profile()
|
/external/swiftshader/third_party/llvm-subzero/build/Linux/include/llvm/IR/ |
D | Attributes.gen | 30 NoReturn, 87 .Case("noreturn", Attribute::NoReturn) 284 return llvm::Attribute::NoReturn;
|
/external/swiftshader/third_party/llvm-subzero/build/Windows/include/llvm/IR/ |
D | Attributes.gen | 30 NoReturn, 87 .Case("noreturn", Attribute::NoReturn) 284 return llvm::Attribute::NoReturn;
|
/external/swiftshader/third_party/llvm-subzero/build/Android/include/llvm/IR/ |
D | Attributes.gen | 30 NoReturn, 87 .Case("noreturn", Attribute::NoReturn) 284 return llvm::Attribute::NoReturn;
|
/external/swiftshader/third_party/llvm-subzero/build/MacOS/include/llvm/IR/ |
D | Attributes.gen | 30 NoReturn, 87 .Case("noreturn", Attribute::NoReturn) 284 return llvm::Attribute::NoReturn;
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Attributes.inc | 30 NoReturn, 87 .Case("noreturn", Attribute::NoReturn) 284 return llvm::Attribute::NoReturn;
|
D | Function.h | 359 return hasFnAttribute(Attribute::NoReturn); in doesNotReturn() 362 addFnAttr(Attribute::NoReturn); in setDoesNotReturn()
|
/external/llvm/include/llvm/IR/ |
D | Function.h | 336 return hasFnAttribute(Attribute::NoReturn); 339 addFnAttr(Attribute::NoReturn);
|
D | Attributes.td | 107 def NoReturn : EnumAttr<"noreturn">;
|
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/ |
D | p3.cpp | 223 constexpr int NoReturn() {} // expected-error {{no return statement in constexpr function}} in NoReturn() function
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | PruneEH.cpp | 146 NewAttributes |= Attribute::NoReturn; in runOnSCC()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Attributes.cpp | 35 if (Attrs & Attribute::NoReturn) in getAsString()
|
/external/llvm/lib/CodeGen/ |
D | MachineRegisterInfo.cpp | 500 return !(Called == nullptr || !Called->hasFnAttribute(Attribute::NoReturn) || in isNoReturnDef()
|
/external/swiftshader/third_party/LLVM/examples/ExceptionDemo/ |
D | ExceptionDemo.cpp | 1924 funct->addFnAttr(llvm::Attribute::NoReturn); in createStandardUtilityFunctions() 1944 funct->addFnAttr(llvm::Attribute::NoReturn); in createStandardUtilityFunctions()
|
/external/clang/lib/Analysis/ |
D | CFG.cpp | 1850 bool NoReturn = getFunctionExtInfo(*calleeType).getNoReturn(); in VisitCallExpr() local 1866 NoReturn = true; in VisitCallExpr() 1877 assert(!NoReturn && "noreturn calls with unevaluated args not implemented"); in VisitCallExpr() 1884 if (!NoReturn && !AddEHEdge) { in VisitCallExpr() 1894 if (NoReturn) in VisitCallExpr()
|
/external/llvm/lib/IR/ |
D | Attributes.cpp | 281 if (hasAttribute(Attribute::NoReturn)) in getAsString() 476 case Attribute::NoReturn: return 1 << 2; in getAttrMask()
|