| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | ConstructionContext.cpp | 74 ElidedCE = cast<CXXConstructExpr>(ElidedItem.getStmt()); in createMaterializedTemporaryFromLayers() 110 const auto *DS = cast<DeclStmt>(ParentItem.getStmt()); in createBoundTemporaryFromLayers() 120 const auto *RS = cast<ReturnStmt>(ParentItem.getStmt()); in createBoundTemporaryFromLayers() 129 const auto *MTE = cast<MaterializeTemporaryExpr>(ParentItem.getStmt()); in createBoundTemporaryFromLayers() 145 const auto *E = cast<Expr>(ParentItem.getStmt()); in createBoundTemporaryFromLayers() 161 const auto *E = cast<LambdaExpr>(ParentItem.getStmt()); in createBoundTemporaryFromLayers() 179 const auto *DS = cast<DeclStmt>(TopItem.getStmt()); in createFromLayers() 184 const auto *NE = cast<CXXNewExpr>(TopItem.getStmt()); in createFromLayers() 189 const auto *RS = cast<ReturnStmt>(TopItem.getStmt()); in createFromLayers() 193 const auto *MTE = cast<MaterializeTemporaryExpr>(TopItem.getStmt()); in createFromLayers() [all …]
|
| H A D | ProgramPoint.cpp | 131 if (const Stmt *S = castAs<StmtPoint>().getStmt()) in getSourceLocation() 188 if (const ReturnStmt *RS = FEP->getStmt()) { in printJson() 306 const Stmt *S = castAs<StmtPoint>().getStmt(); in printJson()
|
| H A D | ReachableCode.cpp | 79 if (const auto *CE = dyn_cast<CallExpr>(CS->getStmt())) { in isBuiltinAssumeFalse() 94 if (const ReturnStmt *RS = dyn_cast<ReturnStmt>(CS->getStmt())) { in isDeadReturn() 465 const Stmt *S = CS->getStmt(); in isInCoroutineStmt() 510 const Stmt *S = CS->getStmt(); in findDeadCode() 517 const Stmt *S = T.getStmt(); in findDeadCode()
|
| H A D | CFGStmtMap.cpp | 57 CFGBlock *&Entry = SM[CS->getStmt()]; in Accumulate()
|
| H A D | Consumed.cpp | 63 return CS->getStmt()->getBeginLoc(); in getFirstStmtLoc() 82 return CS->getStmt()->getBeginLoc(); in getLastStmtLoc() 1228 dyn_cast_or_null<IfStmt>(CurrBlock->getTerminator().getStmt())) { in splitState() 1251 dyn_cast_or_null<BinaryOperator>(CurrBlock->getTerminator().getStmt())) { in splitState() 1341 Visitor.Visit(B.castAs<CFGStmt>().getStmt()); in run()
|
| H A D | PathDiagnostic.cpp | 526 return PathDiagnosticLocation(Source.castAs<CFGStmt>().getStmt(), in getLocationForCaller() 684 S = SP->getStmt(); in create() 712 return PathDiagnosticLocation(StmtElt->getStmt()->getBeginLoc(), SMng); in create() 724 return PathDiagnosticLocation(FE->getStmt(), SMng, in create()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | Environment.cpp | 89 const Stmt *S = Entry.getStmt(); in getSVal() 198 const Expr *E = dyn_cast<Expr>(BlkExpr.getStmt()); in removeDeadBindings() 263 const Stmt *S = I->first.getStmt(); in printJson() 275 const Stmt *S = I->first.getStmt(); in printJson()
|
| H A D | SymbolManager.cpp | 79 const Stmt *SymbolConjured::getStmt() const { in getStmt() function in SymbolConjured 101 return Elem->castAs<CFGStmt>().getStmt(); in getStmt() 103 return Elem->castAs<CFGConstructor>().getStmt(); in getStmt() 105 return Elem->castAs<CFGCXXRecordTypedCall>().getStmt(); in getStmt() 124 if (auto *S = getStmt()) in dumpToStream()
|
| H A D | ExplodedGraph.cpp | 120 const Expr *Ex = dyn_cast<Expr>(progPoint.castAs<PostStmt>().getStmt()); in shouldCollect() 141 if (CallEvent::isCallStmt(SP->getStmt())) in shouldCollect() 331 return SP->getStmt(); in getStmtForDiagnostics() 343 return FEP->getStmt(); in getStmtForDiagnostics()
|
| H A D | CoreEngine.cpp | 197 if (const Stmt *S = SP->getStmt()) in timeTraceMetadata() 300 RS = dyn_cast<ReturnStmt>(LastStmt->getStmt()); in HandleBlockEdge() 606 PostStmt Loc(CS.getStmt(), N->getLocationContext()); in enqueueStmtNode()
|
| H A D | BugReporterVisitors.cpp | 833 SourceLocation BugLoc = BugPoint->getStmt()->getBeginLoc(); in VisitNode() 945 const auto *Ret = dyn_cast<ReturnStmt>(SP->getStmt()); in visitNodeInitial() 1283 cast<DeclStmt>(SI.StoreSite->getLocationAs<PostStmt>()->getStmt()); in showBRDiagnostics() 1734 const Stmt *S = PS->getStmt(); in VisitNode() 1903 CurTerminatorStmt = BE->getSrc()->getTerminator().getStmt(); in VisitNode() 1905 const Stmt *CurStmt = SP->getStmt(); in VisitNode() 1920 SourceLocation BugLoc = BugPoint->getStmt()->getBeginLoc(); in VisitNode() 2410 if (SP->getStmt() == E && CurrentSFC == PredSFC) in handle() 2683 const Stmt *S = P->getStmt(); in VisitNode() 2766 return VisitTrueTest(cast<Expr>(PS->getStmt()), BRC, BR, N, TookTrue); in VisitNodeImpl()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | UnreachableCodeChecker.cpp | 132 if (const CallExpr *CE = dyn_cast<CallExpr>(S->getStmt())) { in checkEndAnalysis() 203 if (!isa<DeclStmt>(S->getStmt())) in getUnreachableStmt() 204 return S->getStmt(); in getUnreachableStmt()
|
| H A D | AnalyzerStatsChecker.cpp | 127 PathDiagnosticLocation::createBegin(CS->getStmt(), SM, LC)); in checkEndAnalysis()
|
| H A D | DivZeroChecker.cpp | 49 const Stmt *S = N->getLocationAs<PreStmt>()->getStmt(); in getDenomExpr()
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | Environment.h | 40 const Stmt *getStmt() const { return first; } in getStmt() function 46 ID.AddPointer(E.getStmt()); in Profile()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | JumpDiagnostics.cpp | 684 if (GS->getLabel()->getStmt()) { in VerifyJumps() 685 CheckJump(GS, GS->getLabel()->getStmt(), GS->getGotoLoc(), in VerifyJumps() 705 unsigned TargetScope = LabelAndGotoScopes[LD->getStmt()]; in VerifyJumps() 715 CheckJump(IGS, Target->getStmt(), IGS->getGotoLoc(), in VerifyJumps() 794 if (CHECK_PERMISSIVE(!LabelAndGotoScopes.count(TheLabel->getStmt()))) in VerifyIndirectJumps() 796 unsigned LabelScope = LabelAndGotoScopes[TheLabel->getStmt()]; in VerifyIndirectJumps() 896 S.Diag(Target->getStmt()->getIdentLoc(), diag::note_indirect_goto_target) in DiagnoseIndirectOrAsmJumpStmt() 945 S.Diag(Target->getStmt()->getIdentLoc(), diag::note_indirect_goto_target) in DiagnoseIndirectOrAsmJump()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | AdornedCFG.cpp | 40 StmtToBlock[Stmt->getStmt()] = Block; in buildStmtToBasicBlockMap() 119 CheckChildExprs(S->getStmt(), Block); in buildContainsExprConsumedInDifferentBlock()
|
| H A D | TypeErasedDataflowAnalysis.cpp | 157 Dumper.Visit(Stmt->getStmt()); in print() 331 const Stmt *S = Elt.getStmt(); in builtinTransferStatement()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/ |
| H A D | ChromiumCheckModel.cpp | 58 auto Stmt = CS->getStmt(); in transfer()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
| H A D | CFGMatchSwitch.h | 82 return StmtMS(*Element.castAs<CFGStmt>().getStmt(), Context, S); in Build()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Analysis/ |
| H A D | CFG.h | 139 const Stmt *getStmt() const { in getStmt() function 564 Stmt *getStmt() { return Data.getPointer(); } in getStmt() function 565 const Stmt *getStmt() const { return Data.getPointer(); } in getStmt() function 1087 Stmt *getTerminatorStmt() { return Terminator.getStmt(); } in getTerminatorStmt() 1088 const Stmt *getTerminatorStmt() const { return Terminator.getStmt(); } in getTerminatorStmt() 1400 O(const_cast<Stmt *>(stmt->getStmt())); in VisitBlockStmts() 1482 return Val.getStmt();
|
| H A D | ProgramPoint.h | 284 const Stmt *getStmt() const { return (const Stmt*) getData1(); } in getStmt() function 287 const T* getStmtAs() const { return dyn_cast<T>(getStmt()); } in getStmtAs() 351 const ReturnStmt *getStmt() const { in getStmt() function
|
| H A D | ConstructionContext.h | 146 const Stmt *getStmt() const { in getStmt() function 152 return hasStatement() ? getStmt() : nullptr; in getStmtOrNull()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | VarBypassDetector.cpp | 146 if (const LabelStmt *LS = GS->getLabel()->getStmt()) in Detect()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountDiagnostics.cpp | 502 const Stmt *S = N->getLocation().castAs<StmtPoint>().getStmt(); in VisitNode() 554 const Stmt *S = N->getLocation().castAs<StmtPoint>().getStmt(); in VisitNode() 588 const Stmt *S = N->getLocation().castAs<StmtPoint>().getStmt(); in VisitNode()
|