Home
last modified time | relevance | path

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

/freebsd-14-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
HDTestAfterDivZeroChecker.cpp105 if (const BinaryOperator *BO = P->getStmtAs<BinaryOperator>()) { in REGISTER_SET_WITH_PROGRAMSTATE()
/freebsd-14-stable/contrib/llvm-project/clang/include/clang/AST/
HDOpenMPClause.h163 template <typename T> T *getStmtAs() const { return cast_or_null<T>(S); } in getStmtAs() function
375 Expr *getAllocator() const { return getStmtAs<Expr>(); } in getAllocator()
420 Expr *getAlignment() const { return getStmtAs<Expr>(); } in getAlignment()
658 Expr *getCondition() const { return getStmtAs<Expr>(); } in getCondition()
705 Expr *getNumThreads() const { return getStmtAs<Expr>(); } in getNumThreads()
741 Expr *getSafelen() const { return getStmtAs<Expr>(); } in getSafelen()
776 Expr *getSimdlen() const { return getStmtAs<Expr>(); } in getSimdlen()
998 Expr *getNumForLoops() const { return getStmtAs<Expr>(); } in getNumForLoops()
8269 Expr *getCondition() const { return getStmtAs<Expr>(); } in getCondition()
8315 Expr *getCondition() const { return getStmtAs<Expr>(); } in getCondition()
[all …]
/freebsd-14-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
HDBugReporterVisitors.cpp333 if (auto *BO = PS->getStmtAs<BinaryOperator>()) in wasRegionOfInterestModifiedAt()
1277 const DeclStmt *DS = P->getStmtAs<DeclStmt>(); in isInitializationOfVar()
1574 if (const BinaryOperator *BO = P->getStmtAs<BinaryOperator>()) { in VisitNode()
1580 else if (const auto *DS = P->getStmtAs<DeclStmt>()) { in VisitNode()
1594 } else if (const auto *CE = P->getStmtAs<CXXConstructExpr>()) { in VisitNode()
1643 else if (const auto *ILE = P->getStmtAs<InitListExpr>()) { in VisitNode()
/freebsd-14-stable/contrib/llvm-project/clang/include/clang/Analysis/
HDProgramPoint.h277 const T* getStmtAs() const { return dyn_cast<T>(getStmt()); } in getStmtAs() function
/freebsd-14-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
HDRetainCountDiagnostics.cpp734 if (const ObjCMessageExpr *ME = SP->getStmtAs<ObjCMessageExpr>()) in GetAllocationSite()