Home | History | Annotate | Download | only in Core

Lines Matching defs:PD

419 static void GenerateMinimalPathDiagnostic(PathDiagnostic& PD,
444 PD.getActivePath().push_front(C);
445 PD.pushActivePath(&C->path);
452 bool VisitedEntireCall = PD.isWithinCall();
453 PD.popActivePath();
462 C = cast<PathDiagnosticCallPiece>(PD.getActivePath().front());
465 C = PathDiagnosticCallPiece::construct(PD.getActivePath(), Caller);
507 PD.getActivePath().push_front(new PathDiagnosticControlFlowPiece(
559 PD.getActivePath().push_front(new PathDiagnosticControlFlowPiece(
565 PD.getActivePath().push_front(new PathDiagnosticControlFlowPiece(
577 PD.getActivePath().push_front(new PathDiagnosticControlFlowPiece(
599 PD.getActivePath().push_front(new PathDiagnosticControlFlowPiece(
622 PD.getActivePath().push_front(new PathDiagnosticControlFlowPiece(
629 PD.getActivePath().push_front(new PathDiagnosticControlFlowPiece(
641 PD.getActivePath().push_front(new PathDiagnosticControlFlowPiece(
649 PD.getActivePath().push_front(new PathDiagnosticControlFlowPiece(
668 PD.getActivePath().push_front(new PathDiagnosticControlFlowPiece(
677 PD.getActivePath().push_front(new PathDiagnosticControlFlowPiece(
695 PD.getActivePath().push_front(new PathDiagnosticControlFlowPiece(
703 PD.getActivePath().push_front(new PathDiagnosticControlFlowPiece(
717 PD.getActivePath().push_front(new PathDiagnosticControlFlowPiece(
720 PD.getActivePath().push_front(new PathDiagnosticControlFlowPiece(
736 PD.getActivePath().push_front(p);
745 CompactPathDiagnostic(PD.getMutablePieces(), PDB.getSourceManager());
784 PathDiagnostic &PD;
847 EdgeBuilder(PathDiagnostic &pd, PathDiagnosticBuilder &pdb)
848 : PD(pd), PDB(pdb) {
852 if (!PD.path.empty()) {
853 PrevLoc = (*PD.path.begin())->getLocation();
965 PD.getActivePath().push_front(new PathDiagnosticControlFlowPiece(NewLocClean, PrevLocClean));
1135 if (const ParmVarDecl *PD = *PI) {
1136 Loc LV = State->getLValue(PD, CalleeCtx);
1146 static void GenerateExtensivePathDiagnostic(PathDiagnostic& PD,
1150 EdgeBuilder EB(PD, PDB);
1185 PD.getActivePath().push_front(C);
1186 PD.pushActivePath(&C->path);
1201 bool VisitedEntireCall = PD.isWithinCall();
1203 PD.popActivePath();
1213 C = cast<PathDiagnosticCallPiece>(PD.getActivePath().front());
1216 C = PathDiagnosticCallPiece::construct(PD.getActivePath(), Caller);
1272 PD.getActivePath().push_front(p);
1315 PD.getActivePath().push_front(p);
1852 void GRBugReporter::GeneratePathDiagnostic(PathDiagnostic& PD,
1899 PD.resetPath();
1916 PD.setEndOfPath(LastPiece);
1922 GenerateExtensivePathDiagnostic(PD, PDB, N, visitors);
1925 GenerateMinimalPathDiagnostic(PD, PDB, N, visitors);
1940 bool hasSomethingInteresting = RemoveUneededCalls(PD.getMutablePieces(), R);
2097 PathDiagnosticConsumer &PD,
2113 if (PD.getGenerationScheme() != PathDiagnosticConsumer::None) {
2115 GeneratePathDiagnostic(*D.get(), PD, bugReports);
2138 PD.HandlePathDiagnostic(D.take());