Home
last modified time | relevance | path

Searched refs:NoReturn (Results 1 – 25 of 25) sorted by relevance

/external/clang/test/SemaCXX/
Dreturn-noreturn.cpp149 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 …]
Dcxx1y-deduced-return-type.cpp304 namespace NoReturn { namespace
/external/clang/test/Analysis/
Dtemp-obj-dtors-cfg-output.cpp143 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()
Ddtor.cpp469 namespace NoReturn { namespace
/external/clang/include/clang/CodeGen/
DCGFunctionInfo.h360 unsigned NoReturn : 1; variable
423 bool isNoReturn() const { return NoReturn; } in isNoReturn()
480 ID.AddBoolean(NoReturn); in Profile()
/external/llvm/lib/Transforms/IPO/
DPruneEH.cpp163 if (!SCCMightReturn && !F->hasFnAttribute(Attribute::NoReturn)) { in runOnSCC()
164 F->addFnAttr(Attribute::NoReturn); in runOnSCC()
DFunctionAttrs.cpp1870 .Case("noreturn", Attribute::NoReturn) in parseAttrKind()
/external/llvm/include/llvm/IR/
DFunction.h311 Attribute::NoReturn);
314 addFnAttr(Attribute::NoReturn);
DAttributes.td103 def NoReturn : EnumAttr<"noreturn">;
DInstructions.h1726 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/
Dp3.cpp223 constexpr int NoReturn() {} // expected-error {{no return statement in constexpr function}} in NoReturn() function
/external/llvm/lib/CodeGen/
DMachineRegisterInfo.cpp470 return !(Called == nullptr || !Called->hasFnAttribute(Attribute::NoReturn) || in isNoReturnDef()
/external/llvm/lib/IR/
DAttributes.cpp237 if (hasAttribute(Attribute::NoReturn)) in getAsString()
411 case Attribute::NoReturn: return 1 << 2; in getAttrMask()
DVerifier.cpp1227 if (I->getKindAsEnum() == Attribute::NoReturn || in VerifyAttributeTypes()
/external/clang/lib/Analysis/
DCFG.cpp1850 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/
DCGCall.cpp580 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()
DCGExpr.cpp2414 B.addAttribute(llvm::Attribute::NoReturn) in emitCheckHandlerCall()
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp3529 bool NoReturn = FunctionTypeP->getNoReturnAttr(); in adjustCCAndNoReturn() local
3533 ArgFunctionTypeP->getNoReturnAttr() == NoReturn) in adjustCCAndNoReturn()
3537 EI = EI.withNoReturn(NoReturn); in adjustCCAndNoReturn()
DSemaExpr.cpp11580 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/
DASTContext.cpp7399 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/
DCPPBackend.cpp499 HANDLE_ATTR(NoReturn); in printAttributes()
/external/clang/include/clang/Basic/
DAttr.td1059 def NoReturn : InheritableAttr {
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp221 case Attribute::NoReturn: in getAttrKindEncoding()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1277 return Attribute::NoReturn; in getAttrFromCode()
/external/llvm/lib/AsmParser/
DLLParser.cpp1013 case lltok::kw_noreturn: B.addAttribute(Attribute::NoReturn); break; in ParseFnAttributeValuePairs()