/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/clang/include/clang/CodeGen/ |
D | CGFunctionInfo.h | 360 unsigned NoReturn : 1; variable 423 bool isNoReturn() const { return NoReturn; } in isNoReturn() 480 ID.AddBoolean(NoReturn); in Profile()
|
/external/llvm/lib/Transforms/IPO/ |
D | PruneEH.cpp | 163 if (!SCCMightReturn && !F->hasFnAttribute(Attribute::NoReturn)) { in runOnSCC() 164 F->addFnAttr(Attribute::NoReturn); in runOnSCC()
|
D | FunctionAttrs.cpp | 1870 .Case("noreturn", Attribute::NoReturn) in parseAttrKind()
|
/external/llvm/include/llvm/IR/ |
D | Function.h | 311 Attribute::NoReturn); 314 addFnAttr(Attribute::NoReturn);
|
D | Attributes.td | 103 def NoReturn : EnumAttr<"noreturn">;
|
D | Instructions.h | 1726 bool doesNotReturn() const { return hasFnAttr(Attribute::NoReturn); } 1728 addAttribute(AttributeSet::FunctionIndex, Attribute::NoReturn); 3637 bool doesNotReturn() const { return hasFnAttr(Attribute::NoReturn); } 3639 addAttribute(AttributeSet::FunctionIndex, Attribute::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/llvm/lib/CodeGen/ |
D | MachineRegisterInfo.cpp | 470 return !(Called == nullptr || !Called->hasFnAttribute(Attribute::NoReturn) || in isNoReturnDef()
|
/external/llvm/lib/IR/ |
D | Attributes.cpp | 237 if (hasAttribute(Attribute::NoReturn)) in getAsString() 411 case Attribute::NoReturn: return 1 << 2; in getAttrMask()
|
D | Verifier.cpp | 1227 if (I->getKindAsEnum() == Attribute::NoReturn || in VerifyAttributeTypes()
|
/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/clang/lib/CodeGen/ |
D | CGCall.cpp | 580 FI->NoReturn = info.getNoReturn(); in create() 1446 FuncAttrs.addAttribute(llvm::Attribute::NoReturn); in ConstructAttributeList() 1462 FuncAttrs.addAttribute(llvm::Attribute::NoReturn); in ConstructAttributeList() 1473 FuncAttrs.addAttribute(llvm::Attribute::NoReturn); in ConstructAttributeList()
|
D | CGExpr.cpp | 2414 B.addAttribute(llvm::Attribute::NoReturn) in emitCheckHandlerCall()
|
/external/clang/lib/Sema/ |
D | SemaTemplateDeduction.cpp | 3529 bool NoReturn = FunctionTypeP->getNoReturnAttr(); in adjustCCAndNoReturn() local 3533 ArgFunctionTypeP->getNoReturnAttr() == NoReturn) in adjustCCAndNoReturn() 3537 EI = EI.withNoReturn(NoReturn); in adjustCCAndNoReturn()
|
D | SemaExpr.cpp | 11580 bool NoReturn = BSI->TheDecl->hasAttr<NoReturnAttr>(); in ActOnBlockStmtExpr() local 11600 if (NoReturn && !Ext.getNoReturn()) Ext = Ext.withNoReturn(true); in ActOnBlockStmtExpr() 11611 (!NoReturn || FTy->getNoReturnAttr())) { in ActOnBlockStmtExpr() 11626 EPI.ExtInfo = FunctionType::ExtInfo().withNoReturn(NoReturn); in ActOnBlockStmtExpr()
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 7399 bool NoReturn = lbaseInfo.getNoReturn() || rbaseInfo.getNoReturn(); in mergeFunctionTypes() local 7401 if (lbaseInfo.getNoReturn() != NoReturn) in mergeFunctionTypes() 7403 if (rbaseInfo.getNoReturn() != NoReturn) in mergeFunctionTypes() 7406 FunctionType::ExtInfo einfo = lbaseInfo.withNoReturn(NoReturn); in mergeFunctionTypes()
|
/external/llvm/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 499 HANDLE_ATTR(NoReturn); in printAttributes()
|
/external/clang/include/clang/Basic/ |
D | Attr.td | 1059 def NoReturn : InheritableAttr {
|
/external/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 221 case Attribute::NoReturn: in getAttrKindEncoding()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 1277 return Attribute::NoReturn; in getAttrFromCode()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 1013 case lltok::kw_noreturn: B.addAttribute(Attribute::NoReturn); break; in ParseFnAttributeValuePairs()
|