Searched refs:getStmt (Results 1 - 25 of 44) sorted by relevance

12

/freebsd-12-stable/contrib/llvm-project/clang/lib/Analysis/
H A DConstructionContext.cpp74 ElidedCE = cast<CXXConstructExpr>(ElidedItem.getStmt());
110 const auto *DS = cast<DeclStmt>(ParentItem.getStmt());
120 const auto *RS = cast<ReturnStmt>(ParentItem.getStmt());
129 const auto *MTE = cast<MaterializeTemporaryExpr>(ParentItem.getStmt());
145 const auto *E = cast<Expr>(ParentItem.getStmt());
173 const auto *DS = cast<DeclStmt>(TopItem.getStmt());
178 const auto *NE = cast<CXXNewExpr>(TopItem.getStmt());
183 const auto *RS = cast<ReturnStmt>(TopItem.getStmt());
187 const auto *MTE = cast<MaterializeTemporaryExpr>(TopItem.getStmt());
192 const auto *BTE = cast<CXXBindTemporaryExpr>(TopItem.getStmt());
[all...]
H A DCFGStmtMap.cpp56 CFGBlock *&Entry = SM[CS->getStmt()];
H A DProgramPoint.cpp71 if (const ReturnStmt *RS = FEP->getStmt()) {
186 const Stmt *S = castAs<StmtPoint>().getStmt();
H A DReachableCode.cpp77 if (const auto *CE = dyn_cast<CallExpr>(CS->getStmt())) {
94 if (const ReturnStmt *RS = dyn_cast<ReturnStmt>(CS->getStmt())) {
460 const Stmt *S = CS->getStmt();
467 const Stmt *S = T.getStmt();
H A DConsumed.cpp66 return CS->getStmt()->getBeginLoc();
85 return CS->getStmt()->getBeginLoc();
1235 dyn_cast_or_null<IfStmt>(CurrBlock->getTerminator().getStmt())) {
1255 dyn_cast_or_null<BinaryOperator>(CurrBlock->getTerminator().getStmt())) {
1345 Visitor.Visit(B.castAs<CFGStmt>().getStmt());
H A DPathDiagnostic.cpp517 return PathDiagnosticLocation(Source.castAs<CFGStmt>().getStmt(),
673 S = SP->getStmt();
700 return PathDiagnosticLocation(StmtElt->getStmt()->getBeginLoc(), SMng);
711 return PathDiagnosticLocation(FE->getStmt(), SMng,
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DEnvironment.h40 const Stmt *getStmt() const { return first; } function in class:clang::ento::EnvironmentEntry
46 ID.AddPointer(E.getStmt());
H A DSymbolManager.h96 const Stmt *getStmt() const { return S; } function in class:clang::ento::SymbolConjured
222 const Stmt *getStmt() const { return S; } function in class:clang::ento::SymbolMetadata
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DEnvironment.cpp87 const Stmt *S = Entry.getStmt();
191 if (SymReaper.isLive(BlkExpr.getStmt(), BlkExpr.getLocationContext())) {
252 const Stmt *S = I->first.getStmt();
264 const Stmt *S = I->first.getStmt();
H A DExplodedGraph.cpp124 const Expr *Ex = dyn_cast<Expr>(progPoint.castAs<PostStmt>().getStmt());
145 if (CallEvent::isCallStmt(SP->getStmt()))
336 return SP->getStmt();
348 return FEP->getStmt();
H A DBugReporterVisitors.cpp817 SourceLocation BugLoc = BugPoint->getStmt()->getBeginLoc();
959 if (SP->getStmt() == S && CurrentSFC == PredSFC)
1014 const auto *Ret = dyn_cast<ReturnStmt>(SP->getStmt());
1468 const Stmt *S = PS->getStmt();
1663 CurTerminatorStmt = BE->getSrc()->getTerminator().getStmt();
1665 const Stmt *CurStmt = SP->getStmt();
1680 SourceLocation BugLoc = BugPoint->getStmt()->getBeginLoc();
2102 const Stmt *S = P->getStmt();
2185 return VisitTrueTest(cast<Expr>(PS->getStmt()), BRC, BR, N, TookTrue);
H A DCoreEngine.cpp248 RS = dyn_cast<ReturnStmt>(LastStmt->getStmt());
546 PostStmt Loc(CS.getStmt(), N->getLocationContext());
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUndefBranchChecker.cpp92 if (PS->getStmt() == Ex)
H A DUnreachableCodeChecker.cpp133 if (const CallExpr *CE = dyn_cast<CallExpr>(S->getStmt())) {
203 if (!isa<DeclStmt>(S->getStmt()))
204 return S->getStmt();
H A DDivZeroChecker.cpp37 const Stmt *S = N->getLocationAs<PreStmt>()->getStmt();
H A DAnalyzerStatsChecker.cpp134 PathDiagnosticLocation::createBegin(CS->getStmt(), SM, LC));
H A DMallocOverflowSecurityChecker.cpp311 if (const CallExpr *TheCall = dyn_cast<CallExpr>(CS->getStmt())) {
H A DMallocChecker.cpp155 const Stmt *getStmt() const { return S; } function in class:__anon3369::RefState
165 return RefState(AllocatedOfSizeZero, RS->getStmt(),
175 return RefState(Escaped, RS->getStmt(), RS->getAllocationFamily());
1867 const Expr *AllocExpr = cast<Expr>(RsBase->getStmt());
2140 const Expr *AllocExpr = cast<Expr>(RS->getStmt());
2855 ReportUseZeroAllocated(C, RS->getStmt()->getSourceRange(), Sym);
2911 RefState::getAllocated(RS->getAllocationFamily(), RS->getStmt()));
3248 const Stmt *S = RSCurr->getStmt();
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporter.h358 const Stmt *getStmt() const;
372 ErrorNodeRange(getStmt() ? getStmt()->getSourceRange()
379 ErrorNodeRange(getStmt() ? getStmt()->getSourceRange()
394 ErrorNodeRange(getStmt() ? getStmt()->getSourceRange() : SourceRange()),
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp609 if (GS->getLabel()->getStmt()) {
610 CheckJump(GS, GS->getLabel()->getStmt(), GS->getGotoLoc(),
622 CheckJump(IGS, Target->getStmt(), IGS->getGotoLoc(),
711 if (CHECK_PERMISSIVE(!LabelAndGotoScopes.count(TheLabel->getStmt())))
713 unsigned LabelScope = LabelAndGotoScopes[TheLabel->getStmt()];
813 S.Diag(Target->getStmt()->getIdentLoc(), diag::note_indirect_goto_target)
861 S.Diag(Target->getStmt()->getIdentLoc(), diag::note_indirect_goto_target)
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DVarBypassDetector.cpp141 if (const LabelStmt *LS = GS->getLabel()->getStmt())
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Analysis/
H A DConstructionContext.h136 const Stmt *getStmt() const { function in class:clang::ConstructionContextItem
142 return hasStatement() ? getStmt() : nullptr;
H A DCFG.h138 const Stmt *getStmt() const { function in class:clang::CFGStmt
535 Stmt *getStmt() { return Data.getPointer(); } function in class:clang::CFGTerminator
536 const Stmt *getStmt() const { return Data.getPointer(); } function in class:clang::CFGTerminator
1051 Stmt *getTerminatorStmt() { return Terminator.getStmt(); }
1052 const Stmt *getTerminatorStmt() const { return Terminator.getStmt(); }
1386 O(const_cast<Stmt*>(stmt->getStmt()));
1466 return Val.getStmt();
H A DProgramPoint.h279 const Stmt *getStmt() const { return (const Stmt*) getData1(); } function in class:clang::StmtPoint
282 const T* getStmtAs() const { return dyn_cast<T>(getStmt()); }
346 const ReturnStmt *getStmt() const { function in class:clang::FunctionExitPoint
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h102 "' conjured at statement '" + printStmt(S->getStmt()) + "'";

Completed in 320 milliseconds

12