Home
last modified time | relevance | path

Searched refs:getStmtAs (Results 1 – 9 of 9) sorted by relevance

/external/clang/lib/Tooling/
DRefactoringCallbacks.cpp42 if (const Stmt *FromMatch = Result.Nodes.getStmtAs<Stmt>(FromId)) { in run()
55 const Stmt *FromMatch = Result.Nodes.getStmtAs<Stmt>(FromId); in run()
56 const Stmt *ToMatch = Result.Nodes.getStmtAs<Stmt>(ToId); in run()
68 if (const IfStmt *Node = Result.Nodes.getStmtAs<IfStmt>(Id)) { in run()
/external/clang/unittests/AST/
DStmtPrinterTest.cpp48 const Stmt *S = Result.Nodes.getStmtAs<Stmt>("id"); in run()
/external/clang/lib/StaticAnalyzer/Checkers/
DTestAfterDivZeroChecker.cpp107 if (const BinaryOperator *BO = P->getStmtAs<BinaryOperator>()) { in REGISTER_SET_WITH_PROGRAMSTATE()
DRetainCountChecker.cpp2204 if (const ObjCMessageExpr *ME = SP->getStmtAs<ObjCMessageExpr>()) in GetAllocationSite()
/external/clang/include/clang/Analysis/
DProgramPoint.h250 const T* getStmtAs() const { return dyn_cast<T>(getStmt()); } in getStmtAs() function
/external/clang/lib/StaticAnalyzer/Core/
DBugReporterVisitors.cpp428 const DeclStmt *DS = P->getStmtAs<DeclStmt>(); in isInitializationOfVar()
500 if (const BinaryOperator *BO = P->getStmtAs<BinaryOperator>()) in VisitNode()
DBugReporter.cpp1413 if (const Expr *Ex = PS->getStmtAs<Expr>()) in GenerateExtensivePathDiagnostic()
1757 if (const Expr *Ex = PS->getStmtAs<Expr>()) in GenerateAlternateExtensivePathDiagnostic()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h84 const T *getStmtAs(StringRef ID) const { in getStmtAs() function
/external/clang/docs/
DLibASTMatchersTutorial.rst500 const ForStmt *FS = Result.Nodes.getStmtAs<ForStmt>("forLoop");