Home | History | Annotate | Download | only in Core

Lines Matching defs:PathDiagnostic

1 //===--- PathDiagnostic.cpp - Path-Specific Diagnostic Handling -*- C++ -*-===//
10 // This file defines the PathDiagnostic-related interfaces.
14 #include "clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h"
61 PathDiagnostic::~PathDiagnostic() {}
63 PathDiagnostic::PathDiagnostic(const Decl *declWithIssue,
76 for (llvm::FoldingSet<PathDiagnostic>::iterator it =
82 void PathDiagnosticConsumer::HandlePathDiagnostic(PathDiagnostic *D) {
83 llvm::OwningPtr<PathDiagnostic> OwningD(D);
148 if (PathDiagnostic *orig = Diags.FindNodeOrInsertPos(profile, InsertPos)) {
149 // Keep the PathDiagnostic with the shorter path.
178 bool operator()(const PathDiagnostic *X, const PathDiagnostic *Y) const {
216 std::vector<const PathDiagnostic *> BatchDiags;
217 for (llvm::FoldingSet<PathDiagnostic>::iterator it = Diags.begin(),
233 for (std::vector<const PathDiagnostic *>::iterator it = BatchDiags.begin(),
235 const PathDiagnostic *D = *it;
476 PathDiagnosticLocation PathDiagnostic::getLocation() const {
478 "getLocation() requires a non-empty PathDiagnostic.");
596 unsigned PathDiagnostic::full_size() {
650 void PathDiagnostic::Profile(llvm::FoldingSetNodeID &ID) const {
658 void PathDiagnostic::FullProfile(llvm::FoldingSetNodeID &ID) const {