/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 | 141 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()
|
D | dtor.cpp | 469 namespace NoReturn { namespace
|
/external/clang/include/clang/CodeGen/ |
D | CGFunctionInfo.h | 359 unsigned NoReturn : 1; variable 421 bool isNoReturn() const { return NoReturn; } in isNoReturn() 472 ID.AddBoolean(NoReturn); in Profile()
|
/external/llvm/include/llvm/IR/ |
D | Function.h | 263 Attribute::NoReturn); 266 addFnAttr(Attribute::NoReturn);
|
D | Attributes.h | 94 NoReturn, ///< Mark the function as not returning enumerator
|
D | Instructions.h | 1482 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/ |
D | p3.cpp | 219 constexpr int NoReturn() {} // expected-error {{no return statement in constexpr function}} in NoReturn() function
|
/external/llvm/lib/Transforms/IPO/ |
D | PruneEH.cpp | 148 NewAttributes.addAttribute(Attribute::NoReturn); in runOnSCC()
|
/external/llvm/lib/CodeGen/ |
D | VirtRegMap.cpp | 330 if (!Func || !Func->hasFnAttribute(Attribute::NoReturn) || in rewrite()
|
/external/llvm/lib/IR/ |
D | Attributes.cpp | 229 if (hasAttribute(Attribute::NoReturn)) in getAsString() 399 case Attribute::NoReturn: return 1 << 2; in getAttrMask()
|
D | Verifier.cpp | 1244 if (I->getKindAsEnum() == Attribute::NoReturn || in VerifyAttributeTypes()
|
/external/clang/lib/Analysis/ |
D | CFG.cpp | 1793 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/ |
D | CGCall.cpp | 550 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()
|
D | CGExpr.cpp | 2274 B.addAttribute(llvm::Attribute::NoReturn) in emitCheckHandlerCall()
|
/external/clang/lib/Sema/ |
D | SemaTemplateDeduction.cpp | 3463 bool NoReturn = FunctionTypeP->getNoReturnAttr(); in adjustCCAndNoReturn() local 3467 ArgFunctionTypeP->getNoReturnAttr() == NoReturn) in adjustCCAndNoReturn() 3471 EI = EI.withNoReturn(NoReturn); in adjustCCAndNoReturn()
|
D | SemaExpr.cpp | 11285 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/ |
D | ASTContext.cpp | 7008 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/ |
D | CPPBackend.cpp | 499 HANDLE_ATTR(NoReturn); in printAttributes()
|
/external/clang/include/clang/Basic/ |
D | Attr.td | 973 def NoReturn : InheritableAttr {
|
/external/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 207 case Attribute::NoReturn: in getAttrKindEncoding()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 1106 return Attribute::NoReturn; in GetAttrFromCode()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 954 case lltok::kw_noreturn: B.addAttribute(Attribute::NoReturn); break; in ParseFnAttributeValuePairs()
|