/freebsd-12-stable/contrib/llvm-project/clang/lib/Analysis/ |
H A D | ConstructionContext.cpp | 74 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 D | CFGStmtMap.cpp | 56 CFGBlock *&Entry = SM[CS->getStmt()];
|
H A D | ProgramPoint.cpp | 71 if (const ReturnStmt *RS = FEP->getStmt()) { 186 const Stmt *S = castAs<StmtPoint>().getStmt();
|
H A D | ReachableCode.cpp | 77 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 D | Consumed.cpp | 66 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 D | PathDiagnostic.cpp | 517 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 D | Environment.h | 40 const Stmt *getStmt() const { return first; } function in class:clang::ento::EnvironmentEntry 46 ID.AddPointer(E.getStmt());
|
H A D | SymbolManager.h | 96 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 D | Environment.cpp | 87 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 D | ExplodedGraph.cpp | 124 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 D | BugReporterVisitors.cpp | 817 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 D | CoreEngine.cpp | 248 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 D | UndefBranchChecker.cpp | 92 if (PS->getStmt() == Ex)
|
H A D | UnreachableCodeChecker.cpp | 133 if (const CallExpr *CE = dyn_cast<CallExpr>(S->getStmt())) { 203 if (!isa<DeclStmt>(S->getStmt())) 204 return S->getStmt();
|
H A D | DivZeroChecker.cpp | 37 const Stmt *S = N->getLocationAs<PreStmt>()->getStmt();
|
H A D | AnalyzerStatsChecker.cpp | 134 PathDiagnosticLocation::createBegin(CS->getStmt(), SM, LC));
|
H A D | MallocOverflowSecurityChecker.cpp | 311 if (const CallExpr *TheCall = dyn_cast<CallExpr>(CS->getStmt())) {
|
H A D | MallocChecker.cpp | 155 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 D | BugReporter.h | 358 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 D | JumpDiagnostics.cpp | 609 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 D | VarBypassDetector.cpp | 141 if (const LabelStmt *LS = GS->getLabel()->getStmt())
|
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Analysis/ |
H A D | ConstructionContext.h | 136 const Stmt *getStmt() const { function in class:clang::ConstructionContextItem 142 return hasStatement() ? getStmt() : nullptr;
|
H A D | CFG.h | 138 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 D | ProgramPoint.h | 279 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 D | SValExplainer.h | 102 "' conjured at statement '" + printStmt(S->getStmt()) + "'";
|