/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 …]
|
/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 | 87 const Stmt *S = N->getLocationAs<PreStmt>()->getStmt(); in GetDenomExpr() 94 const Stmt *S = N->getLocationAs<PostStmt>()->getStmt(); in GetRetValExpr() 180 if (SP->getStmt() == S) in addVisitorIfNecessary() 243 const ReturnStmt *Ret = dyn_cast<ReturnStmt>(SP->getStmt()); in visitNodeInitial() 552 const Stmt *S = PS->getStmt(); in VisitNode() 849 SourceLocation BugLoc = BugPoint->getStmt()->getLocStart(); in VisitNode() 856 CurTerminatorStmt = BE->getSrc()->getTerminator().getStmt(); in VisitNode() 858 const Stmt *CurStmt = SP->getStmt(); in VisitNode() 979 if (ps->getStmt() == S || ps->getStmt() == Inner) in trackNullOrUndefValue() 1012 if (P->getStmt() == Inner) in trackNullOrUndefValue() [all …]
|
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 | PathDiagnostic.cpp | 548 return PathDiagnosticLocation(Source.castAs<CFGStmt>().getStmt(), in getLocationForCaller() 666 S = SP->getStmt(); in create() 689 const Stmt *PathDiagnosticLocation::getStmt(const ExplodedNode *N) { in getStmt() function in PathDiagnosticLocation 692 return SP->getStmt(); in getStmt() 707 if (const Stmt *S = getStmt(N)) { in getNextStmt() 736 const Stmt *S = getStmt(N); in createEndOfPath()
|
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 | ExprEngine.cpp | 297 ProcessStmt(const_cast<Stmt*>(E.castAs<CFGStmt>().getStmt()), Pred); in processCFGElement() 330 if (!isa<Expr>(S.getStmt())) in shouldRemoveDeadBindings() 334 if (CallEvent::isCallStmt(S.getStmt())) in shouldRemoveDeadBindings() 340 return !PM.isConsumedExpr(cast<Expr>(S.getStmt())); in shouldRemoveDeadBindings() 430 const Stmt *currStmt = S.getStmt(); in ProcessStmt() 1380 if (SP->getStmt() == CE) in replayWithoutInlining() 1571 const Stmt *LastStmt = CS->getStmt(); in ResolveCondition() 2445 if (!P.getAs<PostStmt>() || P.castAs<PostStmt>().getStmt() != Ex) { in evalEagerlyAssumeBinOpBifurcation() 2706 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()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | Environment.h | 40 const Stmt *getStmt() const { return first; } in getStmt() function 46 ID.AddPointer(E.getStmt()); in Profile()
|
D | SymbolManager.h | 86 const Stmt *getStmt() const { return S; } in getStmt() function 197 const Stmt *getStmt() const { return S; } in getStmt() function
|
/external/clang/lib/Sema/ |
D | JumpDiagnostics.cpp | 583 if (GS->getLabel()->getStmt()) { in VerifyJumps() 584 CheckJump(GS, GS->getLabel()->getStmt(), GS->getGotoLoc(), in VerifyJumps() 596 CheckJump(IGS, Target->getStmt(), IGS->getGotoLoc(), in VerifyJumps() 681 if (CHECK_PERMISSIVE(!LabelAndGotoScopes.count(TheLabel->getStmt()))) in VerifyIndirectJumps() 683 unsigned LabelScope = LabelAndGotoScopes[TheLabel->getStmt()]; in VerifyIndirectJumps() 781 S.Diag(Target->getStmt()->getIdentLoc(), diag::note_indirect_goto_target); in DiagnoseIndirectJumpStmt() 827 S.Diag(Target->getStmt()->getIdentLoc(), diag::note_indirect_goto_target); in DiagnoseIndirectJump()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | UnreachableCodeChecker.cpp | 134 if (const CallExpr *CE = dyn_cast<CallExpr>(S->getStmt())) { in checkEndAnalysis() 195 return S->getStmt(); in getUnreachableStmt()
|
D | UndefBranchChecker.cpp | 93 if (PS->getStmt() == Ex) in checkBranchCondition()
|
D | AnalyzerStatsChecker.cpp | 133 PathDiagnosticLocation::createBegin(CS->getStmt(), SM, LC)); in checkEndAnalysis()
|
D | MallocChecker.cpp | 85 const Stmt *getStmt() const { return S; } in getStmt() function in __anone8977cbd0111::RefState 95 return RefState(AllocatedOfSizeZero, RS->getStmt(), in getAllocatedOfSizeZero() 105 return RefState(Escaped, RS->getStmt(), RS->getAllocationFamily()); in getEscaped() 1424 const Expr *AllocExpr = cast<Expr>(RsBase->getStmt()); in FreeMemAux() 1689 const Expr *AllocExpr = cast<Expr>(RS->getStmt()); in ReportMismatchedDealloc() 2103 AllocationStmt = SP->getStmt(); in reportLeak() 2315 ReportUseZeroAllocated(C, RS->getStmt()->getSourceRange(), Sym); in checkUseZeroAllocated() 2370 RefState::getAllocated(RS->getAllocationFamily(), RS->getStmt())); in evalAssume() 2637 S = SP->getStmt(); in VisitNode()
|
D | DynamicTypeChecker.cpp | 113 S = SP->getStmt(); in VisitNode()
|
D | MacOSKeychainAPIChecker.cpp | 532 AllocStmt = PS->getStmt(); in generateAllocatedDataNotReleasedReport() 607 cast<CallExpr>(N->getLocation().castAs<StmtPoint>().getStmt()); in VisitNode()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/stmt/ |
D | LabeledStmt.java | 63 public Statement getStmt() { in getStmt() method in LabeledStmt
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/stmt/ |
D | LabeledStmt.java | 63 public Statement getStmt() { in getStmt() method in LabeledStmt
|
/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() 1269 dyn_cast_or_null<IfStmt>(CurrBlock->getTerminator().getStmt())) { in splitState() 1293 dyn_cast_or_null<BinaryOperator>(CurrBlock->getTerminator().getStmt())) { in splitState() 1387 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()
|
/external/v8/tools/clang/base_bind_rewriters/ |
D | BaseBindRewriters.cpp | 286 top_stmts_.insert(stmt->getStmt()); in ExtractCFGContentToMembers() 306 recursive_set_enclosing(block, stmt->getStmt()); in ExtractCFGContentToMembers() 541 if (!visit_stmt(s->getStmt())) { in ForEachFollowingStmts()
|
/external/clang/include/clang/StaticAnalyzer/Checkers/ |
D | SValExplainer.h | 102 "' conjured at statement '" + printStmt(S->getStmt()) + "'"; in VisitSymbolConjured()
|