/external/clang/include/clang/Analysis/ |
D | CFG.h | 119 const Stmt *getStmt() const { in getStmt() function 311 Stmt *getStmt() { return Data.getPointer(); } in getStmt() function 312 const Stmt *getStmt() const { return Data.getPointer(); } in getStmt() function 316 operator Stmt *() { return getStmt(); } 317 operator const Stmt *() const { return getStmt(); } 319 Stmt *operator->() { return getStmt(); } 320 const Stmt *operator->() const { return getStmt(); } 322 Stmt &operator*() { return *getStmt(); } 323 const Stmt &operator*() const { return *getStmt(); } 325 LLVM_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() 169 if (SymReaper.isLive(BlkExpr.getStmt(), BlkExpr.getLocationContext())) { in removeDeadBindings() 207 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() 184 if (SP->getStmt() == S) in addVisitorIfNecessary() 246 const ReturnStmt *Ret = dyn_cast<ReturnStmt>(SP->getStmt()); in visitNodeInitial() 552 const Stmt *S = PS->getStmt(); in VisitNode() 925 if (ps->getStmt() == S || ps->getStmt() == Inner) in trackNullOrUndefValue() 958 if (P->getStmt() == Inner) in trackNullOrUndefValue() 1081 const Stmt *S = P->getStmt(); in VisitNode() 1204 return VisitTrueTest(cast<Expr>(PS->getStmt()), true, in VisitNodeImpl() 1207 return VisitTrueTest(cast<Expr>(PS->getStmt()), false, in VisitNodeImpl()
|
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 | 549 return PathDiagnosticLocation(Source.castAs<CFGStmt>().getStmt(), in getLocationForCaller() 670 S = SP->getStmt(); in create() 693 const Stmt *PathDiagnosticLocation::getStmt(const ExplodedNode *N) { in getStmt() function in PathDiagnosticLocation 696 return SP->getStmt(); in getStmt() 711 if (const Stmt *S = getStmt(N)) { in getNextStmt() 740 const Stmt *S = getStmt(N); in createEndOfPath()
|
D | ExprEngine.cpp | 286 ProcessStmt(const_cast<Stmt*>(E.castAs<CFGStmt>().getStmt()), Pred); in processCFGElement() 319 if (!isa<Expr>(S.getStmt())) in shouldRemoveDeadBindings() 323 if (CallEvent::isCallStmt(S.getStmt())) in shouldRemoveDeadBindings() 329 return !PM.isConsumedExpr(cast<Expr>(S.getStmt())); in shouldRemoveDeadBindings() 419 const Stmt *currStmt = S.getStmt(); in ProcessStmt() 1242 if (SP->getStmt() == CE) in replayWithoutInlining() 1419 const Stmt *LastStmt = CS->getStmt(); in ResolveCondition() 2219 if (!P.getAs<PostStmt>() || P.castAs<PostStmt>().getStmt() != Ex) { in evalEagerlyAssumeBinOpBifurcation() 2480 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() 1349 const Stmt *S = SP->getStmt(); in getStmtBeforeCond() 1556 const Stmt *stmt = S->getStmt(); in GenerateExtensivePathDiagnostic() 1765 if (!isa<ObjCForCollectionStmt>(PS->getStmt())) { in GenerateAlternateExtensivePathDiagnostic() 1767 PathDiagnosticLocation(PS->getStmt(), SM, PDB.LC); in GenerateAlternateExtensivePathDiagnostic() 2705 const Stmt *BugReport::getStmt() const { in getStmt() function in BugReport 2718 S = PathDiagnosticLocation::getStmt(ErrorNode); in getStmt() 2728 if (const Expr *E = dyn_cast_or_null<Expr>(getStmt())) in getRanges()
|
D | ExprEngineC.cpp | 543 if (const BinaryOperator *Term = cast_or_null<BinaryOperator>(T.getStmt())) { in VisitLogicalExpr() 557 const Expr *RHS = cast<Expr>(Elem.getStmt()); in VisitLogicalExpr() 670 const Expr *ValEx = cast<Expr>(CS->getStmt()); in VisitGuardedExpr()
|
/external/clang/lib/Sema/ |
D | JumpDiagnostics.cpp | 492 CheckJump(GS, GS->getLabel()->getStmt(), GS->getGotoLoc(), in VerifyJumps() 502 CheckJump(IGS, Target->getStmt(), IGS->getGotoLoc(), in VerifyJumps() 587 if (CHECK_PERMISSIVE(!LabelAndGotoScopes.count(TheLabel->getStmt()))) in VerifyIndirectJumps() 589 unsigned LabelScope = LabelAndGotoScopes[TheLabel->getStmt()]; in VerifyIndirectJumps() 687 S.Diag(Target->getStmt()->getIdentLoc(), diag::note_indirect_goto_target); in DiagnoseIndirectJumpStmt() 733 S.Diag(Target->getStmt()->getIdentLoc(), diag::note_indirect_goto_target); in DiagnoseIndirectJump()
|
D | AnalysisBasedWarnings.cpp | 197 const CallExpr *CE = dyn_cast<CallExpr>(B.getAs<CFGStmt>()->getStmt()); in checkForFunctionCall() 358 const Stmt *S = CS.getStmt(); in CheckFallThrough() 971 if (const AttributedStmt *AS = asFallThroughAttr(CS->getStmt())) { in checkFallThroughIntoBlock() 1049 return CS->getStmt(); in getLastStmt()
|
/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 | 94 if (PS->getStmt() == Ex) in checkBranchCondition()
|
D | AnalyzerStatsChecker.cpp | 133 PathDiagnosticLocation::createBegin(CS->getStmt(), SM, LC)); in checkEndAnalysis()
|
D | MallocOverflowSecurityChecker.cpp | 241 if (const CallExpr *TheCall = dyn_cast<CallExpr>(CS->getStmt())) { in checkASTCodeBody()
|
D | MallocChecker.cpp | 78 const Stmt *getStmt() const { return S; } in getStmt() function in __anonb9bd71140111::RefState 94 return RefState(Escaped, RS->getStmt(), RS->getAllocationFamily()); in getEscaped() 1165 const Expr *AllocExpr = cast<Expr>(RsBase->getStmt()); in FreeMemAux() 1397 const Expr *AllocExpr = cast<Expr>(RS->getStmt()); in ReportMismatchedDealloc() 1777 AllocationStmt = SP->getStmt(); in reportLeak() 2025 RefState::getAllocated(RS->getAllocationFamily(), RS->getStmt())); in evalAssume() 2281 S = SP->getStmt(); in VisitNode()
|
D | MacOSKeychainAPIChecker.cpp | 533 AllocStmt = PS->getStmt(); in generateAllocatedDataNotReleasedReport() 607 cast<CallExpr>(N->getLocation().castAs<StmtPoint>().getStmt()); in VisitNode()
|
/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() 1275 dyn_cast_or_null<IfStmt>(CurrBlock->getTerminator().getStmt())) { in splitState() 1299 dyn_cast_or_null<BinaryOperator>(CurrBlock->getTerminator().getStmt())) { in splitState() 1395 Visitor.Visit(B.castAs<CFGStmt>().getStmt()); in run()
|
D | LiveVariables.cpp | 470 const Stmt *S = elem.castAs<CFGStmt>().getStmt(); in runOnBlock() 524 dyn_cast<BinaryOperator>(cs->getStmt())) { in computeLiveness()
|
/external/clang/include/clang/Analysis/Analyses/ |
D | ThreadSafetyCommon.h | 148 V.handleStatement(BI.castAs<CFGStmt>().getStmt()); in walk()
|
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
D | BugReporter.h | 277 const Stmt *getStmt() const;
|