Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DTestAfterDivZeroChecker.cpp105 if (const BinaryOperator *BO = P->getStmtAs<BinaryOperator>()) { in REGISTER_SET_WITH_PROGRAMSTATE()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DOpenMPClause.h375 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()
8727 Expr *getThreadID() const { return getStmtAs<Expr>(); } in getThreadID()
8730 Expr *getThreadID() { return getStmtAs<Expr>(); } in getThreadID()
9139 Expr *getSize() { return getStmtAs<Expr>(); } in getSize()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp329 if (auto *BO = PS->getStmtAs<BinaryOperator>()) in wasRegionOfInterestModifiedAt()
1273 const DeclStmt *DS = P->getStmtAs<DeclStmt>(); in isInitializationOfVar()
1570 if (const BinaryOperator *BO = P->getStmtAs<BinaryOperator>()) { in VisitNode()
1576 else if (const auto *DS = P->getStmtAs<DeclStmt>()) { in VisitNode()
1590 } else if (const auto *CE = P->getStmtAs<CXXConstructExpr>()) { in VisitNode()
1639 else if (const auto *ILE = P->getStmtAs<InitListExpr>()) { in VisitNode()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/
H A DProgramPoint.h277 const T* getStmtAs() const { return dyn_cast<T>(getStmt()); } in getStmtAs() function
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp734 if (const ObjCMessageExpr *ME = SP->getStmtAs<ObjCMessageExpr>()) in GetAllocationSite()