/external/clang/include/clang/Analysis/ |
D | CFG.h | 119 const Stmt *getStmt() const { in getStmt() function 310 Stmt *getStmt() { return Data.getPointer(); } in getStmt() function 311 const Stmt *getStmt() const { return Data.getPointer(); } in getStmt() function 315 operator Stmt *() { return getStmt(); } 316 operator const Stmt *() const { return getStmt(); } 318 Stmt *operator->() { return getStmt(); } 319 const Stmt *operator->() const { return getStmt(); } 321 Stmt &operator*() { return *getStmt(); } 322 const Stmt &operator*() const { return *getStmt(); } 324 explicit operator bool() const { return getStmt(); } [all …]
|
D | ProgramPoint.h | 247 const Stmt *getStmt() const { return (const Stmt*) getData1(); } in getStmt() function 250 const T* getStmtAs() const { return dyn_cast<T>(getStmt()); } in getStmtAs()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | Environment.h | 39 const Stmt *getStmt() const { return first; } in getStmt() function 45 ID.AddPointer(E.getStmt()); in Profile()
|
D | SymbolManager.h | 169 const Stmt *getStmt() const { return S; } in getStmt() function 279 const Stmt *getStmt() const { return S; } in getStmt() function
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | Environment.cpp | 71 const Stmt *S = Entry.getStmt(); in getSVal() 170 if (SymReaper.isLive(BlkExpr.getStmt(), BlkExpr.getLocationContext())) { in removeDeadBindings() 204 const Stmt *S = En.getStmt(); in print()
|
D | BugReporterVisitors.cpp | 86 const Stmt *S = N->getLocationAs<PreStmt>()->getStmt(); in GetDenomExpr() 93 const Stmt *S = N->getLocationAs<PostStmt>()->getStmt(); in GetRetValExpr() 179 if (SP->getStmt() == S) in addVisitorIfNecessary() 242 const ReturnStmt *Ret = dyn_cast<ReturnStmt>(SP->getStmt()); in visitNodeInitial() 548 const Stmt *S = PS->getStmt(); in VisitNode() 921 if (ps->getStmt() == S || ps->getStmt() == Inner) in trackNullOrUndefValue() 954 if (P->getStmt() == Inner) in trackNullOrUndefValue() 1073 const Stmt *S = P->getStmt(); in VisitNode() 1195 return VisitTrueTest(cast<Expr>(PS->getStmt()), true, in VisitNodeImpl() 1198 return VisitTrueTest(cast<Expr>(PS->getStmt()), false, in VisitNodeImpl()
|
D | ExprEngineCXX.cpp | 117 auto *DS = cast<DeclStmt>(StmtElem->getStmt()); in getRegionForConstructedObject() 165 if (isa<DeclStmt>(StmtElem->getStmt())) { in canHaveDirectConstructor() 183 assert(isa<CXXConstructExpr>(((*B)[currStmtIdx]).castAs<CFGStmt>().getStmt())); in findElementDirectlyInitializedByCurrentConstructor() 225 if (auto *CtorExpr = dyn_cast<CXXConstructExpr>(PrevStmtElem->getStmt())) { in findDirectConstructorForCurrentCFGElement()
|
D | ExplodedGraph.cpp | 133 const Expr *Ex = dyn_cast<Expr>(progPoint.castAs<PostStmt>().getStmt()); in shouldCollect() 154 if (CallEvent::isCallStmt(SP->getStmt())) in shouldCollect()
|
D | PathDiagnostic.cpp | 550 return PathDiagnosticLocation(Source.castAs<CFGStmt>().getStmt(), in getLocationForCaller() 671 S = SP->getStmt(); in create() 694 const Stmt *PathDiagnosticLocation::getStmt(const ExplodedNode *N) { in getStmt() function in PathDiagnosticLocation 697 return SP->getStmt(); in getStmt() 712 if (const Stmt *S = getStmt(N)) { in getNextStmt() 741 const Stmt *S = getStmt(N); in createEndOfPath()
|
D | ExprEngine.cpp | 296 ProcessStmt(const_cast<Stmt*>(E.castAs<CFGStmt>().getStmt()), Pred); in processCFGElement() 329 if (!isa<Expr>(S.getStmt())) in shouldRemoveDeadBindings() 333 if (CallEvent::isCallStmt(S.getStmt())) in shouldRemoveDeadBindings() 339 return !PM.isConsumedExpr(cast<Expr>(S.getStmt())); in shouldRemoveDeadBindings() 429 const Stmt *currStmt = S.getStmt(); in ProcessStmt() 1364 if (SP->getStmt() == CE) in replayWithoutInlining() 1555 const Stmt *LastStmt = CS->getStmt(); in ResolveCondition() 2383 if (!P.getAs<PostStmt>() || P.castAs<PostStmt>().getStmt() != Ex) { in evalEagerlyAssumeBinOpBifurcation() 2644 const Stmt *S = Loc.castAs<StmtPoint>().getStmt(); in getNodeLabel()
|
D | BugReporter.cpp | 59 if (const Stmt *S = PathDiagnosticLocation::getStmt(N)) in GetPreviousStmt() 67 if (const Stmt *S = PathDiagnosticLocation::getStmt(N)) in GetCurrentOrPreviousStmt() 1341 const Stmt *S = SP->getStmt(); in getStmtBeforeCond() 1547 const Stmt *stmt = S->getStmt(); in GenerateExtensivePathDiagnostic() 1752 if (!isa<ObjCForCollectionStmt>(PS->getStmt())) { in GenerateAlternateExtensivePathDiagnostic() 1754 PathDiagnosticLocation(PS->getStmt(), SM, PDB.LC); in GenerateAlternateExtensivePathDiagnostic() 2683 const Stmt *BugReport::getStmt() const { in getStmt() function in BugReport 2696 S = PathDiagnosticLocation::getStmt(ErrorNode); in getStmt() 2705 if (const Expr *E = dyn_cast_or_null<Expr>(getStmt())) in getRanges()
|
D | CoreEngine.cpp | 352 cast<CXXBindTemporaryExpr>(B->getTerminator().getStmt()), B, Pred); in HandleBlockExit() 559 PostStmt Loc(CS.getStmt(), N->getLocationContext()); in enqueueStmtNode()
|
D | ExprEngineC.cpp | 568 if (const BinaryOperator *Term = cast_or_null<BinaryOperator>(T.getStmt())) { in VisitLogicalExpr() 582 const Expr *RHS = cast<Expr>(Elem.getStmt()); in VisitLogicalExpr() 693 const Expr *ValEx = cast<Expr>(CS->getStmt()); in VisitGuardedExpr()
|
/external/clang/lib/Sema/ |
D | JumpDiagnostics.cpp | 529 if (GS->getLabel()->getStmt()) { in VerifyJumps() 530 CheckJump(GS, GS->getLabel()->getStmt(), GS->getGotoLoc(), in VerifyJumps() 542 CheckJump(IGS, Target->getStmt(), IGS->getGotoLoc(), in VerifyJumps() 627 if (CHECK_PERMISSIVE(!LabelAndGotoScopes.count(TheLabel->getStmt()))) in VerifyIndirectJumps() 629 unsigned LabelScope = LabelAndGotoScopes[TheLabel->getStmt()]; in VerifyIndirectJumps() 727 S.Diag(Target->getStmt()->getIdentLoc(), diag::note_indirect_goto_target); in DiagnoseIndirectJumpStmt() 773 S.Diag(Target->getStmt()->getIdentLoc(), diag::note_indirect_goto_target); in DiagnoseIndirectJump()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | UnreachableCodeChecker.cpp | 138 if (const CallExpr *CE = dyn_cast<CallExpr>(S->getStmt())) { in checkEndAnalysis() 199 return S->getStmt(); in getUnreachableStmt()
|
D | UndefBranchChecker.cpp | 92 if (PS->getStmt() == Ex) in checkBranchCondition()
|
D | AnalyzerStatsChecker.cpp | 133 PathDiagnosticLocation::createBegin(CS->getStmt(), SM, LC)); in checkEndAnalysis()
|
D | MallocChecker.cpp | 84 const Stmt *getStmt() const { return S; } in getStmt() function in __anon9d32c3be0111::RefState 94 return RefState(AllocatedOfSizeZero, RS->getStmt(), in getAllocatedOfSizeZero() 104 return RefState(Escaped, RS->getStmt(), RS->getAllocationFamily()); in getEscaped() 1416 const Expr *AllocExpr = cast<Expr>(RsBase->getStmt()); in FreeMemAux() 1681 const Expr *AllocExpr = cast<Expr>(RS->getStmt()); in ReportMismatchedDealloc() 2095 AllocationStmt = SP->getStmt(); in reportLeak() 2307 ReportUseZeroAllocated(C, RS->getStmt()->getSourceRange(), Sym); in checkUseZeroAllocated() 2362 RefState::getAllocated(RS->getAllocationFamily(), RS->getStmt())); in evalAssume() 2619 S = SP->getStmt(); in VisitNode()
|
D | DynamicTypeChecker.cpp | 113 S = SP->getStmt(); in VisitNode()
|
D | MacOSKeychainAPIChecker.cpp | 540 AllocStmt = PS->getStmt(); in generateAllocatedDataNotReleasedReport() 615 cast<CallExpr>(N->getLocation().castAs<StmtPoint>().getStmt()); in VisitNode()
|
D | MallocOverflowSecurityChecker.cpp | 309 if (const CallExpr *TheCall = dyn_cast<CallExpr>(CS->getStmt())) { in checkASTCodeBody()
|
/external/clang/lib/Analysis/ |
D | CFGStmtMap.cpp | 57 CFGBlock *&Entry = SM[CS->getStmt()]; in Accumulate()
|
D | ReachableCode.cpp | 71 if (const ReturnStmt *RS = dyn_cast<ReturnStmt>(CS->getStmt())) { in isDeadReturn() 417 const Stmt *S = CS->getStmt(); in findDeadCode() 424 const Stmt *S = T.getStmt(); in findDeadCode()
|
D | Consumed.cpp | 62 return CS->getStmt()->getLocStart(); in getFirstStmtLoc() 81 return CS->getStmt()->getLocStart(); in getLastStmtLoc() 1263 dyn_cast_or_null<IfStmt>(CurrBlock->getTerminator().getStmt())) { in splitState() 1287 dyn_cast_or_null<BinaryOperator>(CurrBlock->getTerminator().getStmt())) { in splitState() 1381 Visitor.Visit(B.castAs<CFGStmt>().getStmt()); in run()
|
D | LiveVariables.cpp | 465 const Stmt *S = elem.castAs<CFGStmt>().getStmt(); in runOnBlock() 519 dyn_cast<BinaryOperator>(cs->getStmt())) { in computeLiveness()
|