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.cpp2281 if (const ObjCMessageExpr *ME = SP->getStmtAs<ObjCMessageExpr>()) in GetAllocationSite()
/external/clang/include/clang/Analysis/
DProgramPoint.h273 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.cpp1404 if (const Expr *Ex = PS->getStmtAs<Expr>()) in GenerateExtensivePathDiagnostic()
1744 if (const Expr *Ex = PS->getStmtAs<Expr>()) in GenerateAlternateExtensivePathDiagnostic()
/external/clang/docs/
DLibASTMatchersTutorial.rst499 const ForStmt *FS = Result.Nodes.getStmtAs<ForStmt>("forLoop");
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h86 const T *getStmtAs(StringRef ID) const { in getStmtAs() function