Home
last modified time | relevance | path

Searched refs:canThrow (Results 1 – 18 of 18) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExceptionSpec.cpp530 CanThrowResult OldCanThrow = Old->canThrow(); in CheckEquivalentExceptionSpecImpl()
531 CanThrowResult NewCanThrow = New->canThrow(); in CheckEquivalentExceptionSpecImpl()
773 CanThrowResult SuperCanThrow = Superset->canThrow(); in CheckExceptionSpecSubset()
774 CanThrowResult SubCanThrow = Subset->canThrow(); in CheckExceptionSpecSubset()
955 R = mergeCanThrow(R, S.canThrow(cast<Expr>(SubStmt))); in canSubExprsThrow()
1012 return FT->canThrow(); in canCalleeThrow()
1049 CanThrowResult Sema::canThrow(const Expr *E) { in canThrow() function in clang::Sema
1055 return canThrow(cast<ConstantExpr>(E)->getSubExpr()); in canThrow()
1115 CT = mergeCanThrow(CT, canThrow(*Cap)); in canThrow()
1220 return canThrow(cast<CXXDefaultArgExpr>(E)->getExpr()); in canThrow()
[all …]
H A DSema.cpp1427 S.Context.setBlockVarCopyInit(VD, Init, S.canThrow(Init)); in checkEscapingByref()
H A DSemaExprCXX.cpp4999 return S.canThrow(Result.get()) == CT_Cannot; in evaluateTypeTrait()
5240 return Self.canThrow(Result.get()) == CT_Cannot; in EvaluateBinaryTypeTrait()
7232 CanThrowResult CanThrow = canThrow(Operand); in BuildCXXNoexceptExpr()
H A DSemaTemplateDeduction.cpp1709 switch (FunctionProtoArg->canThrow()) { in DeduceTemplateArgumentsByTypeMatch()
H A DSemaDeclCXX.cpp244 if (Self->canThrow(E)) in CalledExpr()
/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DIntrinsicEmitter.cpp483 if (L->canThrow != R->canThrow) in operator ()()
484 return R->canThrow; in operator ()()
626 if (!intrinsic.canThrow || in EmitAttributes()
632 if (!intrinsic.canThrow) { in EmitAttributes()
H A DCodeGenIntrinsics.h119 bool canThrow; member
H A DCodeGenTarget.cpp537 canThrow = false; in CodeGenIntrinsic()
679 canThrow = true; in CodeGenIntrinsic()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp323 static bool canThrow(const Value *V) { in canThrow() function
758 bool NeedInvoke = AllowExceptions && canThrow(II->getCalledValue()); in runEHOnFunction()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGCoroutine.cpp138 Proto->canThrow() == CT_Cannot) in memberCallExpressionCanThrow()
H A DCGBlocks.cpp1814 return DD->getType()->getAs<FunctionProtoType>()->canThrow(); in cxxDestructorCanThrow()
1871 if (Ctx.getBlockVarCopyInit(Var).canThrow()) in getBlockCaptureStr()
2119 if (CI.isByRef() && C.getBlockVarCopyInit(CI.getVariable()).canThrow()) in GenerateCopyHelperFunction()
H A DCGException.cpp465 if (isNoexceptExceptionSpec(EST) && Proto->canThrow() == CT_Cannot) { in EmitStartEHSpec()
542 if (isNoexceptExceptionSpec(EST) && Proto->canThrow() == CT_Cannot) { in EmitEndEHSpec()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DType.h3992 CanThrowResult canThrow() const;
3998 return ResultIfDependent ? canThrow() != CT_Can : canThrow() == CT_Cannot;
H A DASTContext.h167 bool canThrow() const { return ExprAndFlag.getInt(); } in canThrow() function
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DMicrosoftMangle.cpp2383 if (FT->canThrow()) in mangleThrowSpecification()
H A DType.cpp2983 CanThrowResult FunctionProtoType::canThrow() const { in canThrow() function in FunctionProtoType
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTWriterDecl.cpp956 Record.push_back(Init.canThrow()); in VisitVarDecl()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h1472 CanThrowResult canThrow(const Expr *E);