reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
 1121   ProgramPoint P = C.getCurrentNode()->getLocation();
 1130     if (C.shouldAddPathEdges()) {
 1141         addEdgeToPath(C.getActivePath(), PrevLoc,
 1146     bool VisitedEntireCall = C.PD->isWithinCall();
 1147     C.PD->popActivePath();
 1151       Call = cast<PathDiagnosticCallPiece>(C.getActivePath().front().get());
 1156       Call = PathDiagnosticCallPiece::construct(C.getActivePath(), Caller);
 1157       assert(C.getActivePath().size() == 1 &&
 1158              C.getActivePath().front().get() == Call);
 1162       assert(C.isInLocCtxMap(&C.getActivePath()) &&
 1162       assert(C.isInLocCtxMap(&C.getActivePath()) &&
 1166       C.updateLocCtxMap(&C.getActivePath(), C.getCurrLocationContext());
 1166       C.updateLocCtxMap(&C.getActivePath(), C.getCurrLocationContext());
 1166       C.updateLocCtxMap(&C.getActivePath(), C.getCurrLocationContext());
 1169       assert(!C.isInLocCtxMap(&Call->path) &&
 1172       C.updateLocCtxMap(&Call->path, CE->getCalleeContext());
 1179     if (!C.CallStack.empty()) {
 1180       assert(C.CallStack.back().first == Call);
 1181       C.CallStack.pop_back();
 1186   assert(C.getCurrLocationContext() == C.getLocationContextForActivePath() &&
 1186   assert(C.getCurrLocationContext() == C.getLocationContextForActivePath() &&
 1197     assert(!C.isInLocCtxMap(&Call->path) &&
 1200     C.updateLocCtxMap(&Call->path, CE->getCalleeContext());
 1202     if (C.shouldAddPathEdges()) {
 1204       addEdgeToPath(C.getActivePath(), PrevLoc, Call->callReturn);
 1209     C.getActivePath().push_front(std::move(Call));
 1212     C.PD->pushActivePath(&P->path);
 1213     C.CallStack.push_back(CallWithEntry(P, C.getCurrentNode()));
 1213     C.CallStack.push_back(CallWithEntry(P, C.getCurrentNode()));
 1218     if (!C.shouldAddPathEdges())
 1226           PathDiagnosticLocation(PS->getStmt(), SM, C.getCurrLocationContext());
 1227       addEdgeToPath(C.getActivePath(), PrevLoc, L);
 1232     if (!C.shouldAddPathEdges()) {
 1233       generateMinimalDiagForBlockEdge(C, *BE);
 1239       PathDiagnosticLocation L(Loop, SM, C.getCurrLocationContext());
 1258       addEdgeToPath(C.getActivePath(), PrevLoc, p->getLocation());
 1259       C.getActivePath().push_front(std::move(p));
 1262         addEdgeToPath(C.getActivePath(), PrevLoc,
 1268     const ParentMap &PM = C.getParentMap();
 1276             PM, getStmtBeforeCond(PM, TermCond, C.getCurrentNode()), Term);
 1296                                    C.getCurrLocationContext());
 1299           addEdgeToPath(C.getActivePath(), PrevLoc, PE->getLocation());
 1300           C.getActivePath().push_front(std::move(PE));
 1304         PathDiagnosticLocation L(Term, SM, C.getCurrLocationContext());
 1305         addEdgeToPath(C.getActivePath(), PrevLoc, L);