Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGCall.h176 unsigned NoReturn : 1; variable
217 bool isNoReturn() const { return NoReturn; } in isNoReturn()
259 ID.AddBoolean(NoReturn); in Profile()
DCGCall.cpp402 FI->NoReturn = info.getNoReturn(); in create()
883 FuncAttrs |= llvm::Attribute::NoReturn; in ConstructAttributeList()
898 FuncAttrs |= llvm::Attribute::NoReturn; in ConstructAttributeList()
/external/llvm/include/llvm/
DFunction.h234 return hasFnAttr(Attribute::NoReturn);
237 if (DoesNotReturn) addFnAttr(Attribute::NoReturn);
238 else removeFnAttr(Attribute::NoReturn);
DAttributes.h105 DECLARE_LLVM_ATTRIBUTE(NoReturn,1<<2) ///< Mark the function as not returning
DInstructions.h1311 bool doesNotReturn() const { return paramHasAttr(~0, Attribute::NoReturn); }
1313 if (DoesNotReturn) addAttribute(~0, Attribute::NoReturn);
1314 else removeAttribute(~0, Attribute::NoReturn);
2942 bool doesNotReturn() const { return paramHasAttr(~0, Attribute::NoReturn); }
2944 if (DoesNotReturn) addAttribute(~0, Attribute::NoReturn);
2945 else removeAttribute(~0, Attribute::NoReturn);
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
Dp3.cpp118 constexpr int NoReturn() {} // expected-error {{no return statement in constexpr function}} in NoReturn() function
/external/llvm/lib/Transforms/IPO/
DPruneEH.cpp145 NewAttributes |= Attribute::NoReturn; in runOnSCC()
/external/llvm/lib/VMCore/
DAttributes.cpp35 if (Attrs & Attribute::NoReturn) in getAsString()
/external/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp1849 funct->addFnAttr(llvm::Attribute::NoReturn); in createStandardUtilityFunctions()
1869 funct->addFnAttr(llvm::Attribute::NoReturn); in createStandardUtilityFunctions()
/external/clang/lib/Analysis/
DCFG.cpp1306 bool NoReturn = getFunctionExtInfo(*calleeType).getNoReturn(); in VisitCallExpr() local
1318 NoReturn = true; in VisitCallExpr()
1326 if (!NoReturn && !AddEHEdge) in VisitCallExpr()
1335 if (NoReturn) in VisitCallExpr()
/external/clang/include/clang/Basic/
DAttr.td381 def NoReturn : InheritableAttr {
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp465 HANDLE_ATTR(NoReturn); in printAttributes()
/external/clang/lib/Sema/
DSemaExpr.cpp9048 bool NoReturn = BSI->TheDecl->getAttr<NoReturnAttr>(); in ActOnBlockStmtExpr() local
9070 if (NoReturn && !Ext.getNoReturn()) Ext = Ext.withNoReturn(true); in ActOnBlockStmtExpr()
9081 (!NoReturn || FTy->getNoReturnAttr())) { in ActOnBlockStmtExpr()
9099 EPI.ExtInfo = FunctionType::ExtInfo().withNoReturn(NoReturn); in ActOnBlockStmtExpr()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp489 Attributes OldRetAttrs = (Attribute::NoUnwind|Attribute::NoReturn| in ParseAttributeBlock()
/external/clang/lib/AST/
DASTContext.cpp5748 bool NoReturn = lbaseInfo.getNoReturn() || rbaseInfo.getNoReturn(); in mergeFunctionTypes() local
5750 FunctionType::ExtInfo einfo = lbaseInfo.withNoReturn(NoReturn); in mergeFunctionTypes()
/external/llvm/lib/AsmParser/
DLLParser.cpp906 case lltok::kw_noreturn: Attrs |= Attribute::NoReturn; break; in ParseOptionalAttrs()