Home
last modified time | relevance | path

Searched refs:getStmtAs (Results 1 – 7 of 7) 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.cpp47 const Stmt *S = Result.Nodes.getStmtAs<Stmt>("id"); in run()
/external/clang/lib/StaticAnalyzer/Core/
DBugReporterVisitors.cpp423 if (const DeclStmt *DS = P->getStmtAs<DeclStmt>()) { in VisitNode()
452 if (const BinaryOperator *BO = P->getStmtAs<BinaryOperator>()) in VisitNode()
973 const ObjCMessageExpr *ME = P->getStmtAs<ObjCMessageExpr>(); in VisitNode()
DBugReporter.cpp1393 if (const Expr *Ex = PS->getStmtAs<Expr>()) in GenerateExtensivePathDiagnostic()
/external/clang/include/clang/Analysis/
DProgramPoint.h250 const T* getStmtAs() const { return dyn_cast<T>(getStmt()); } in getStmtAs() function
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h83 const T *getStmtAs(StringRef ID) const { in getStmtAs() function
/external/clang/docs/
DLibASTMatchersTutorial.rst471 const ForStmt *FS = Result.Nodes.getStmtAs<ForStmt>(LoopName);