/external/clang/include/clang/Analysis/ |
D | CFG.h | 110 const Stmt *getStmt() const { in getStmt() function 258 Stmt *getStmt() { return Data.getPointer(); } in getStmt() function 259 const Stmt *getStmt() const { return Data.getPointer(); } in getStmt() function 263 operator Stmt *() { return getStmt(); } 264 operator const Stmt *() const { return getStmt(); } 266 Stmt *operator->() { return getStmt(); } 267 const Stmt *operator->() const { return getStmt(); } 269 Stmt &operator*() { return *getStmt(); } 270 const Stmt &operator*() const { return *getStmt(); } 272 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 | 70 const Stmt *S = Entry.getStmt(); in getSVal() 196 if (SymReaper.isLive(BlkExpr.getStmt(), BlkExpr.getLocationContext())) { in removeDeadBindings() 234 const Stmt *S = En.getStmt(); in print()
|
D | BugReporterVisitors.cpp | 79 const Stmt *S = N->getLocationAs<PreStmt>()->getStmt(); in GetDenomExpr() 86 const Stmt *S = N->getLocationAs<PostStmt>()->getStmt(); in GetRetValExpr() 175 if (SP->getStmt() == S) in addVisitorIfNecessary() 237 const ReturnStmt *Ret = dyn_cast<ReturnStmt>(SP->getStmt()); in visitNodeInitial() 505 const Stmt *S = PS->getStmt(); in VisitNode() 820 if (ps->getStmt() == S || ps->getStmt() == Inner) in trackNullOrUndefValue() 846 if (P->getStmt() == Inner) in trackNullOrUndefValue() 1091 return VisitTrueTest(cast<Expr>(PS->getStmt()), true, in VisitNodeImpl() 1094 return VisitTrueTest(cast<Expr>(PS->getStmt()), false, in VisitNodeImpl() 1398 const Stmt *S = BR.getStmt(); in getEndPath()
|
D | ExplodedGraph.cpp | 132 const Expr *Ex = dyn_cast<Expr>(ps.getStmt()); in shouldCollect() 153 if (CallEvent::isCallStmt(SP->getStmt())) in shouldCollect()
|
D | ExprEngine.cpp | 254 ProcessStmt(const_cast<Stmt*>(E.castAs<CFGStmt>().getStmt()), Pred); in processCFGElement() 283 if (!isa<Expr>(S.getStmt())) in shouldRemoveDeadBindings() 287 if (CallEvent::isCallStmt(S.getStmt())) in shouldRemoveDeadBindings() 293 return !PM.isConsumedExpr(cast<Expr>(S.getStmt())); in shouldRemoveDeadBindings() 383 const Stmt *currStmt = S.getStmt(); in ProcessStmt() 1094 if (SP->getStmt() == CE) in replayWithoutInlining() 1236 if (CS->getStmt() != Condition) in ResolveCondition() 1986 if (!P.getAs<PostStmt>() || P.castAs<PostStmt>().getStmt() != Ex) { in evalEagerlyAssumeBinOpBifurcation() 2166 const Stmt *S = L->getStmt(); in getNodeLabel()
|
D | ExprEngineC.cpp | 542 if (const BinaryOperator *Term = cast_or_null<BinaryOperator>(T.getStmt())) { in VisitLogicalExpr() 556 const Expr *RHS = cast<Expr>(Elem.getStmt()); in VisitLogicalExpr() 663 const Expr *ValEx = cast<Expr>(CS->getStmt()); in VisitGuardedExpr()
|
D | PathDiagnostic.cpp | 480 return PathDiagnosticLocation(Source.castAs<CFGStmt>().getStmt(), in getLocationForCaller() 588 S = SP->getStmt(); in create() 619 S = PS->getStmt(); in createEndOfPath()
|
D | BugReporter.cpp | 57 return SP->getStmt(); in GetStmt() 1339 const Stmt *S = SP->getStmt(); in getStmtBeforeCond() 1538 const Stmt *stmt = S->getStmt(); in GenerateExtensivePathDiagnostic() 1748 const Stmt *BugReport::getStmt() const { in getStmt() function in BugReport 1771 if (const Expr *E = dyn_cast_or_null<Expr>(getStmt())) in getRanges()
|
/external/clang/lib/Sema/ |
D | JumpDiagnostics.cpp | 493 CheckJump(GS, GS->getLabel()->getStmt(), GS->getGotoLoc(), in VerifyJumps() 503 CheckJump(IGS, Target->getStmt(), IGS->getGotoLoc(), in VerifyJumps() 587 assert(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() 731 S.Diag(Target->getStmt()->getIdentLoc(), diag::note_indirect_goto_target); in DiagnoseIndirectJump()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | UnreachableCodeChecker.cpp | 135 if (const CallExpr *CE = dyn_cast<CallExpr>(S->getStmt())) { in checkEndAnalysis() 193 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 | IdempotentOperationChecker.cpp | 336 C.getPredecessor()->getLocation().castAs<StmtPoint>().getStmt(); in checkPostStmt() 586 B = CBM->getBlock(SP->getStmt()); in pathWasCompletelyAnalyzed()
|
D | MallocOverflowSecurityChecker.cpp | 240 if (const CallExpr *TheCall = dyn_cast<CallExpr>(CS->getStmt())) { in checkASTCodeBody()
|
D | MacOSKeychainAPIChecker.cpp | 532 AllocStmt = PS->getStmt(); in generateAllocatedDataNotReleasedReport() 606 cast<CallExpr>(N->getLocation().castAs<StmtPoint>().getStmt()); in VisitNode()
|
D | MallocChecker.cpp | 55 const Stmt *getStmt() const { return S; } in getStmt() function in __anon15b5c5a30111::RefState 1169 AllocationStmt = SP->getStmt(); in reportLeak() 1383 RefState::getAllocated(RS->getStmt())); in evalAssume() 1595 S = SP->getStmt(); in VisitNode()
|
/external/clang/lib/Analysis/ |
D | CFGStmtMap.cpp | 57 CFGBlock *&Entry = SM[CS->getStmt()]; in Accumulate()
|
D | ReachableCode.cpp | 99 const Stmt *S = CS->getStmt(); in findDeadCode() 105 const Stmt *S = T.getStmt(); in findDeadCode()
|
D | LiveVariables.cpp | 486 const Stmt *S = elem.castAs<CFGStmt>().getStmt(); in runOnBlock() 540 dyn_cast<BinaryOperator>(cs->getStmt())) { in computeLiveness()
|
D | ThreadSafety.cpp | 1354 VMapBuilder.Visit(const_cast<Stmt*>(CS.getStmt())); in traverseCFG() 1401 CurrBlockInfo->ExitLoc = CS->getStmt()->getLocStart(); in findBlockLocations() 1414 CurrBlockInfo->EntryLoc = CS->getStmt()->getLocStart(); in findBlockLocations() 2238 if (isa<CXXThrowExpr>(S->getStmt())) in neverReturns() 2448 LocksetBuilder.Visit(const_cast<Stmt*>(CS.getStmt())); in runAnalysis()
|
D | CFG.cpp | 3409 FindSubExprAssignments(S->getStmt(), SubExprAssignments); in PopulateBlkExprMap() 3420 if (const Expr *Exp = dyn_cast<Expr>(CS->getStmt())) { in PopulateBlkExprMap() 3490 dyn_cast_or_null<SwitchStmt>(From->getTerminator().getStmt())) { in FilterEdge() 3534 const Stmt *stmt= SE->getStmt(); in StmtPrinterHelper() 3724 const Stmt *S = CS->getStmt(); in print_elem() 3907 TPrinter.Visit(const_cast<Stmt*>(B.getTerminator().getStmt())); in print_block() 4024 TPrinter.Visit(const_cast<Stmt*>(getTerminator().getStmt())); in printTerminator()
|
/external/clang/include/clang/Analysis/FlowSensitive/ |
D | DataflowSolver.h | 281 ProcessStmt(S->getStmt(), recordStmtValues, AnalysisDirTag()); 297 ProcessStmt(S->getStmt(), recordStmtValues, AnalysisDirTag());
|