Home
last modified time | relevance | path

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

123

/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DThrowByValueCatchByReferenceCheck.cpp44 diagnoseThrowLocations(Result.Nodes.getNodeAs<CXXThrowExpr>("throw")); in check()
68 const CXXThrowExpr *throwExpr) { in diagnoseThrowLocations()
DThrowByValueCatchByReferenceCheck.h40 void diagnoseThrowLocations(const CXXThrowExpr *throwExpr);
/external/llvm-project/clang-tools-extra/clang-tidy/hicpp/
DExceptionBaseclassCheck.cpp42 const auto *BadThrow = Result.Nodes.getNodeAs<CXXThrowExpr>("bad_throw"); in check()
/external/llvm-project/clang/include/clang/AST/
DComputeDependence.h57 class CXXThrowExpr; variable
139 ExprDependence computeDependence(CXXThrowExpr *E);
DExprCXX.h1171 class CXXThrowExpr : public Expr {
1182 CXXThrowExpr(Expr *Operand, QualType Ty, SourceLocation Loc, in CXXThrowExpr() function
1189 CXXThrowExpr(EmptyShell Empty) : Expr(CXXThrowExprClass, Empty) {} in CXXThrowExpr() function
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DAssertSideEffectCheck.cpp66 return isa<CXXNewExpr>(E) || isa<CXXDeleteExpr>(E) || isa<CXXThrowExpr>(E); in AST_MATCHER_P()
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DExceptionAnalyzer.cpp143 if (const auto *Throw = dyn_cast<CXXThrowExpr>(St)) { in throwsException()
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DPreferMemberInitializerCheck.cpp22 GotoStmt, CXXTryStmt, CXXThrowExpr>(S); in isControlStatement()
/external/clang/lib/AST/
DExprClassification.cpp562 bool TrueIsThrow = isa<CXXThrowExpr>(True->IgnoreParenImpCasts()); in ClassifyConditional()
563 bool FalseIsThrow = isa<CXXThrowExpr>(False->IgnoreParenImpCasts()); in ClassifyConditional()
/external/llvm-project/clang/lib/AST/
DExprClassification.cpp595 bool TrueIsThrow = isa<CXXThrowExpr>(True->IgnoreParenImpCasts()); in ClassifyConditional()
596 bool FalseIsThrow = isa<CXXThrowExpr>(False->IgnoreParenImpCasts()); in ClassifyConditional()
DComputeDependence.cpp268 ExprDependence clang::computeDependence(CXXThrowExpr *E) { in computeDependence()
/external/llvm-project/clang/lib/Sema/
DAnalysisBasedWarnings.cpp281 static bool throwEscapes(Sema &S, const CXXThrowExpr *E, CFGBlock &ThrowBlock, in throwEscapes()
320 llvm::function_ref<void(const CXXThrowExpr *, CFGBlock &)> Visit) { in visitReachableThrows() argument
330 if (auto *Throw = dyn_cast<CXXThrowExpr>(S->getStmt())) in visitReachableThrows()
363 visitReachableThrows(BodyCFG, [&](const CXXThrowExpr *Throw, CFGBlock &Block) { in checkThrowInNonThrowingFunc()
484 if (isa<CXXThrowExpr>(S)) { in CheckFallThrough()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DElseAfterReturnCheck.cpp235 if (isa<CXXThrowExpr>(Stmt)) in getControlFlowString()
/external/clang/include/clang/Basic/
DStmtNodes.td116 def CXXThrowExpr : DStmt<Expr>;
/external/clang/lib/CodeGen/
DCGCXXABI.h235 virtual void emitThrow(CodeGenFunction &CGF, const CXXThrowExpr *E) = 0;
DCodeGenFunction.cpp1343 if (const CXXThrowExpr *Throw = dyn_cast<CXXThrowExpr>(Cond)) { in EmitBranchOnBoolExpr()
DCodeGenPGO.cpp291 void VisitCXXThrowExpr(const CXXThrowExpr *E) { in VisitCXXThrowExpr()
DCoverageMappingGen.cpp633 void VisitCXXThrowExpr(const CXXThrowExpr *E) { in VisitCXXThrowExpr()
/external/llvm-project/clang/lib/CodeGen/
DCGCXXABI.h229 virtual void emitThrow(CodeGenFunction &CGF, const CXXThrowExpr *E) = 0;
DCodeGenPGO.cpp434 void VisitCXXThrowExpr(const CXXThrowExpr *E) { in VisitCXXThrowExpr()
/external/llvm-project/clang/include/clang/Basic/
DStmtNodes.td131 def CXXThrowExpr : StmtNode<Expr>;
/external/llvm-project/clang-tools-extra/clangd/
DXRefs.cpp931 bool VisitCXXThrowExpr(CXXThrowExpr *T) { in VisitCXXThrowExpr()
1000 } else if (N.ASTNode.get<CXXThrowExpr>()) { in relatedControlFlow()
/external/clang/include/clang/AST/
DExprCXX.h913 class CXXThrowExpr : public Expr {
925 CXXThrowExpr(Expr *expr, QualType Ty, SourceLocation l, in CXXThrowExpr() function
931 CXXThrowExpr(EmptyShell Empty) : Expr(CXXThrowExprClass, Empty) {} in CXXThrowExpr() function
/external/llvm-project/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp887 const internal::VariadicDynCastAllOfMatcher<Stmt, CXXThrowExpr> cxxThrowExpr;
/external/llvm-project/clang/lib/Analysis/
DCFG.cpp565 CFGBlock *VisitCXXThrowExpr(CXXThrowExpr *T);
2220 return VisitCXXThrowExpr(cast<CXXThrowExpr>(S)); in Visit()
3866 CFGBlock *CFGBuilder::VisitCXXThrowExpr(CXXThrowExpr *T) { in VisitCXXThrowExpr()
5874 if (isa<CXXThrowExpr>(StmtElm->getStmt())) in isImmediateSinkBlock()

123