Lines Matching defs:LC
325 const LocationContext *LC;
331 R(r), PDC(pdc), NMC(Backmap), LC(r->getErrorNode()->getLocationContext())
343 ParentMap& getParentMap() { return LC->getParentMap(); }
366 return PathDiagnosticLocation(S, getSourceManager(), LC);
427 const LocationContext *LC, bool allowNestedContexts) {
436 return PathDiagnosticLocation(allowNestedContexts ? B : S, SMgr, LC);
441 return PathDiagnosticLocation(S, SMgr, LC);
446 return PathDiagnosticLocation(Parent, SMgr, LC);
448 return PathDiagnosticLocation(S, SMgr, LC);
455 return PathDiagnosticLocation(Parent, SMgr, LC);
457 return PathDiagnosticLocation(S, SMgr, LC);
460 return PathDiagnosticLocation(S, SMgr, LC);
463 LC);
466 return PathDiagnosticLocation(S, SMgr, LC);
470 return PathDiagnosticLocation(S, SMgr, LC);
474 return PathDiagnosticLocation(S, SMgr, LC);
478 return PathDiagnosticLocation(S, SMgr, LC);
489 return PathDiagnosticLocation(S, SMgr, LC);
495 return ::getEnclosingStmtLocation(S, getSourceManager(), getParentMap(), LC,
562 const LocationContext *LC = PDB.LC;
570 PDB.LC = N->getLocationContext();
655 PathDiagnosticLocation End(S, SMgr, LC);
756 PathDiagnosticLocation End(B->getLHS(), SMgr, LC);
764 PathDiagnosticLocation Start(B->getLHS(), SMgr, LC);
776 PathDiagnosticLocation Start(B->getLHS(), SMgr, LC);
783 PathDiagnosticLocation End(B->getLHS(), SMgr, LC);
921 const LocationContext *LC,
955 L = PathDiagnosticLocation(S, L.getManager(), LC);
983 rawAddEdge(cleanUpLocation(CLocs.back(), PDB.LC, true));
1008 PDB.LC,
1097 const PathDiagnosticLocation &NewLocClean = cleanUpLocation(NewLoc, PDB.LC);
1098 const PathDiagnosticLocation &PrevLocClean = cleanUpLocation(PrevLoc, PDB.LC);
1200 PathDiagnosticLocation L(S, PDB.getSourceManager(), PDB.LC);
1444 PDB.LC = N->getLocationContext();
1474 PDB.LC = N->getLocationContext();
1482 const LocationContext *CalleeCtx = PDB.LC;
1492 PathDiagnosticLocation L(Loop, SM, PDB.LC);
1527 PathDiagnosticLocation L(Term, SM, PDB.LC);
1587 const LocationContext *LC) {
1688 PDB.LC = NewLC;
1704 PDB.LC = N->getLocationContext();
1709 LCM[&PD.getActivePath()] == PDB.LC);
1710 LCM[&PD.getActivePath()] = PDB.LC;
1731 addEdgeToPath(PD.getActivePath(), PrevLoc, C->callReturn, PDB.LC);
1754 PathDiagnosticLocation(PS->getStmt(), SM, PDB.LC);
1755 addEdgeToPath(PD.getActivePath(), PrevLoc, L, PDB.LC);
1766 const LocationContext *CalleeCtx = PDB.LC;
1776 PathDiagnosticLocation L(Loop, SM, PDB.LC);
1797 addEdgeToPath(PD.getActivePath(), PrevLoc, p->getLocation(), PDB.LC);
1803 PDB.LC);
1835 PathDiagnosticLocation L(TermCond ? TermCond : Term, SM, PDB.LC);
1840 PE->getLocation(), PDB.LC);
1845 PathDiagnosticLocation L(Term, SM, PDB.LC);
1846 addEdgeToPath(PD.getActivePath(), PrevLoc, L, PDB.LC);
1859 addEdgeToPath(PD.getActivePath(), PrevLoc, p->getLocation(), PDB.LC);
1868 const StackFrameContext *CalleeLC = PDB.LC->getCurrentStackFrame();
2321 const LocationContext *LC = LCM[&path];
2322 assert(LC);
2323 ParentMap &PM = LC->getParentMap();
2482 addContextEdges(path, SM, PM, LC);
2565 const LocationContext *LC = N->getLocationContext();
2566 return LC->getCurrentStackFrame()->getDecl();
2620 void BugReport::markInteresting(const LocationContext *LC) {
2621 if (!LC)
2623 InterestingLocationContexts.insert(LC);
2650 bool BugReport::isInteresting(const LocationContext *LC) {
2651 if (!LC)
2653 return InterestingLocationContexts.count(LC);