clang API Documentation
#include <PathDiagnostic.h>
Classes | |
struct | FilesMade |
class | PDFileEntry |
Public Types | |
enum | PathGenerationScheme { None, Minimal, Extensive, AlternateExtensive } |
Public Member Functions | |
PathDiagnosticConsumer () | |
virtual | ~PathDiagnosticConsumer () |
void | FlushDiagnostics (FilesMade *FilesMade) |
virtual void | FlushDiagnosticsImpl (std::vector< const PathDiagnostic * > &Diags, FilesMade *filesMade)=0 |
virtual StringRef | getName () const =0 |
void | HandlePathDiagnostic (std::unique_ptr< PathDiagnostic > D) |
virtual PathGenerationScheme | getGenerationScheme () const |
virtual bool | supportsLogicalOpControlFlow () const |
virtual bool | supportsCrossFileDiagnostics () const |
Protected Attributes | |
bool | flushed |
llvm::FoldingSet< PathDiagnostic > | Diags |
Definition at line 55 of file PathDiagnostic.h.
Definition at line 100 of file PathDiagnostic.h.
Definition at line 88 of file PathDiagnostic.h.
PathDiagnosticConsumer::~PathDiagnosticConsumer | ( | ) | [virtual] |
Definition at line 192 of file PathDiagnostic.cpp.
References Diags.
Definition at line 419 of file PathDiagnostic.cpp.
References compare(), Diags, FlushDiagnosticsImpl(), flushed, and X.
virtual void clang::ento::PathDiagnosticConsumer::FlushDiagnosticsImpl | ( | std::vector< const PathDiagnostic * > & | Diags, |
FilesMade * | filesMade | ||
) | [pure virtual] |
Referenced by FlushDiagnostics().
virtual PathGenerationScheme clang::ento::PathDiagnosticConsumer::getGenerationScheme | ( | ) | const [inline, virtual] |
Definition at line 101 of file PathDiagnostic.h.
References Minimal.
Referenced by clang::ento::GRBugReporter::generatePathDiagnostic().
virtual StringRef clang::ento::PathDiagnosticConsumer::getName | ( | ) | const [pure virtual] |
void PathDiagnosticConsumer::HandlePathDiagnostic | ( | std::unique_ptr< PathDiagnostic > | D | ) |
Definition at line 200 of file PathDiagnostic.cpp.
References clang::ento::PathDiagnosticLocation::asLocation(), Diags, clang::FullSourceLoc::getExpansionLoc(), clang::SourceManager::getExpansionLoc(), clang::SourceManager::getFileID(), clang::ento::PathDiagnosticPiece::getLocation(), clang::ento::PathDiagnosticPiece::getRanges(), clang::SourceLocation::isFileID(), clang::FileID::isInvalid(), Ranges, and supportsCrossFileDiagnostics().
virtual bool clang::ento::PathDiagnosticConsumer::supportsCrossFileDiagnostics | ( | ) | const [inline, virtual] |
Return true if the PathDiagnosticConsumer supports individual PathDiagnostics that span multiple files.
Definition at line 106 of file PathDiagnostic.h.
Referenced by HandlePathDiagnostic().
virtual bool clang::ento::PathDiagnosticConsumer::supportsLogicalOpControlFlow | ( | ) | const [inline, virtual] |
Definition at line 102 of file PathDiagnostic.h.
llvm::FoldingSet<PathDiagnostic> clang::ento::PathDiagnosticConsumer::Diags [protected] |
Definition at line 110 of file PathDiagnostic.h.
Referenced by FlushDiagnostics(), HandlePathDiagnostic(), and ~PathDiagnosticConsumer().
bool clang::ento::PathDiagnosticConsumer::flushed [protected] |
Definition at line 109 of file PathDiagnostic.h.
Referenced by FlushDiagnostics().