Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DChrootChecker.cpp130 const CallExpr *Call = StmtP->getStmtAs<CallExpr>(); in VisitNode()
H A DTestAfterDivZeroChecker.cpp102 if (const BinaryOperator *BO = P->getStmtAs<BinaryOperator>()) { in REGISTER_SET_WITH_PROGRAMSTATE()
H A DBlockInCriticalSectionChecker.cpp178 const auto *CE = Point->getStmtAs<CallExpr>(); in VisitNode()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DOpenMPClause.h163 template <typename T> T *getStmtAs() const { return cast_or_null<T>(S); } in getStmtAs() function
429 Expr *getAllocator() const { return getStmtAs<Expr>(); } in getAllocator()
474 Expr *getAlignment() const { return getStmtAs<Expr>(); } in getAlignment()
807 Expr *getCondition() const { return getStmtAs<Expr>(); } in getCondition()
875 Expr *getNumThreads() const { return getStmtAs<Expr>(); } in getNumThreads()
911 Expr *getSafelen() const { return getStmtAs<Expr>(); } in getSafelen()
946 Expr *getSimdlen() const { return getStmtAs<Expr>(); } in getSimdlen()
1250 Expr *getNumForLoops() const { return getStmtAs<Expr>(); } in getNumForLoops()
2422 Expr *getExpr() const { return getStmtAs<Expr>(); } in getExpr()
8855 Expr *getCondition() const { return getStmtAs<Expr>(); } in getCondition()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp329 if (auto *BO = PS->getStmtAs<BinaryOperator>()) in wasRegionOfInterestModifiedAt()
1184 const DeclStmt *DS = P->getStmtAs<DeclStmt>(); in isInitializationOfVar()
1526 if (const BinaryOperator *BO = P->getStmtAs<BinaryOperator>()) { in VisitNode()
1532 else if (const auto *DS = P->getStmtAs<DeclStmt>()) { in VisitNode()
1546 } else if (const auto *CE = P->getStmtAs<CXXConstructExpr>()) { in VisitNode()
1595 else if (const auto *ILE = P->getStmtAs<InitListExpr>()) { in VisitNode()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DProgramPoint.h287 const T* getStmtAs() const { return dyn_cast<T>(getStmt()); } in getStmtAs() function
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp735 if (const ObjCMessageExpr *ME = SP->getStmtAs<ObjCMessageExpr>()) in GetAllocationSite()