Home
last modified time | relevance | path

Searched refs:NoReturn (Results 1 – 24 of 24) 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.cpp141 class NoReturn { class
143 ~NoReturn() __attribute__((noreturn));
149 NoReturn().f(); in test_noreturn1()
155 NoReturn(), 47; in test_noreturn2()
159 extern bool check(const NoReturn&);
164 if (!value || check(NoReturn())) { in testConsistencyNestedSimple()
174 if (!value || !value || check(NoReturn())) { in testConsistencyNestedComplex()
184 if (!value || value || check(NoReturn())) { in testConsistencyNestedNormalReturn()
Ddtor.cpp469 namespace NoReturn { namespace
/external/clang/include/clang/CodeGen/
DCGFunctionInfo.h359 unsigned NoReturn : 1; variable
421 bool isNoReturn() const { return NoReturn; } in isNoReturn()
472 ID.AddBoolean(NoReturn); in Profile()
/external/llvm/include/llvm/IR/
DFunction.h263 Attribute::NoReturn);
266 addFnAttr(Attribute::NoReturn);
DAttributes.h94 NoReturn, ///< Mark the function as not returning enumerator
DInstructions.h1482 bool doesNotReturn() const { return hasFnAttr(Attribute::NoReturn); }
1484 addAttribute(AttributeSet::FunctionIndex, Attribute::NoReturn);
3172 bool doesNotReturn() const { return hasFnAttr(Attribute::NoReturn); }
3174 addAttribute(AttributeSet::FunctionIndex, Attribute::NoReturn);
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
Dp3.cpp219 constexpr int NoReturn() {} // expected-error {{no return statement in constexpr function}} in NoReturn() function
/external/llvm/lib/Transforms/IPO/
DPruneEH.cpp148 NewAttributes.addAttribute(Attribute::NoReturn); in runOnSCC()
/external/llvm/lib/CodeGen/
DVirtRegMap.cpp330 if (!Func || !Func->hasFnAttribute(Attribute::NoReturn) || in rewrite()
/external/llvm/lib/IR/
DAttributes.cpp229 if (hasAttribute(Attribute::NoReturn)) in getAsString()
399 case Attribute::NoReturn: return 1 << 2; in getAttrMask()
DVerifier.cpp1244 if (I->getKindAsEnum() == Attribute::NoReturn || in VerifyAttributeTypes()
/external/clang/lib/Analysis/
DCFG.cpp1793 bool NoReturn = getFunctionExtInfo(*calleeType).getNoReturn(); in VisitCallExpr() local
1809 NoReturn = true; in VisitCallExpr()
1820 assert(!NoReturn && "noreturn calls with unevaluated args not implemented"); in VisitCallExpr()
1827 if (!NoReturn && !AddEHEdge) { in VisitCallExpr()
1837 if (NoReturn) in VisitCallExpr()
/external/clang/lib/CodeGen/
DCGCall.cpp550 FI->NoReturn = info.getNoReturn(); in create()
1395 FuncAttrs.addAttribute(llvm::Attribute::NoReturn); in ConstructAttributeList()
1404 FuncAttrs.addAttribute(llvm::Attribute::NoReturn); in ConstructAttributeList()
1416 FuncAttrs.addAttribute(llvm::Attribute::NoReturn); in ConstructAttributeList()
DCGExpr.cpp2274 B.addAttribute(llvm::Attribute::NoReturn) in emitCheckHandlerCall()
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp3463 bool NoReturn = FunctionTypeP->getNoReturnAttr(); in adjustCCAndNoReturn() local
3467 ArgFunctionTypeP->getNoReturnAttr() == NoReturn) in adjustCCAndNoReturn()
3471 EI = EI.withNoReturn(NoReturn); in adjustCCAndNoReturn()
DSemaExpr.cpp11285 bool NoReturn = BSI->TheDecl->hasAttr<NoReturnAttr>(); in ActOnBlockStmtExpr() local
11307 if (NoReturn && !Ext.getNoReturn()) Ext = Ext.withNoReturn(true); in ActOnBlockStmtExpr()
11318 (!NoReturn || FTy->getNoReturnAttr())) { in ActOnBlockStmtExpr()
11333 EPI.ExtInfo = FunctionType::ExtInfo().withNoReturn(NoReturn); in ActOnBlockStmtExpr()
/external/clang/lib/AST/
DASTContext.cpp7008 bool NoReturn = lbaseInfo.getNoReturn() || rbaseInfo.getNoReturn(); in mergeFunctionTypes() local
7010 if (lbaseInfo.getNoReturn() != NoReturn) in mergeFunctionTypes()
7012 if (rbaseInfo.getNoReturn() != NoReturn) in mergeFunctionTypes()
7015 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.td973 def NoReturn : InheritableAttr {
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp207 case Attribute::NoReturn: in getAttrKindEncoding()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1106 return Attribute::NoReturn; in GetAttrFromCode()
/external/llvm/lib/AsmParser/
DLLParser.cpp954 case lltok::kw_noreturn: B.addAttribute(Attribute::NoReturn); break; in ParseFnAttributeValuePairs()