#include "clang/Analysis/PathDiagnostic.h"
Definition at line 92 of file PathDiagnostic.h.
◆ PathGenerationScheme
Enumerator |
---|
None | Only runs visitors, no output generated.
|
Minimal | Used for SARIF and text output.
|
Extensive | Used for plist output, used for "arrows" generation.
|
Everything | Used for HTML, shows both "arrows" and control notes.
|
Definition at line 142 of file PathDiagnostic.h.
◆ PathDiagnosticConsumer()
clang::ento::PathDiagnosticConsumer::PathDiagnosticConsumer |
( |
| ) |
|
|
default |
◆ ~PathDiagnosticConsumer()
PathDiagnosticConsumer::~PathDiagnosticConsumer |
( |
| ) |
|
|
virtual |
◆ FlushDiagnostics()
◆ FlushDiagnosticsImpl()
virtual void clang::ento::PathDiagnosticConsumer::FlushDiagnosticsImpl |
( |
std::vector< const PathDiagnostic * > & |
Diags, |
|
|
FilesMade * |
filesMade |
|
) |
| |
|
pure virtual |
◆ getGenerationScheme()
◆ getName()
virtual StringRef clang::ento::PathDiagnosticConsumer::getName |
( |
| ) |
const |
|
pure virtual |
◆ HandlePathDiagnostic()
void PathDiagnosticConsumer::HandlePathDiagnostic |
( |
std::unique_ptr< PathDiagnostic > |
D | ) |
|
Definition at line 138 of file PathDiagnostic.cpp.
References clang::ento::PathDiagnosticLocation::asLocation(), D, Diags, clang::FullSourceLoc::getExpansionLoc(), clang::SourceManager::getExpansionLoc(), clang::SourceManager::getFileID(), clang::Decl::getLocation(), clang::ento::PathDiagnosticPiece::getLocation(), clang::ento::PathDiagnosticPiece::getRanges(), clang::SourceLocation::isFileID(), clang::FileID::isInvalid(), and supportsCrossFileDiagnostics().
◆ shouldAddControlNotes()
bool clang::ento::PathDiagnosticConsumer::shouldAddControlNotes |
( |
| ) |
const |
|
inline |
◆ shouldAddPathEdges()
bool clang::ento::PathDiagnosticConsumer::shouldAddPathEdges |
( |
| ) |
const |
|
inline |
◆ shouldGenerateDiagnostics()
bool clang::ento::PathDiagnosticConsumer::shouldGenerateDiagnostics |
( |
| ) |
const |
|
inline |
◆ supportsCrossFileDiagnostics()
virtual bool clang::ento::PathDiagnosticConsumer::supportsCrossFileDiagnostics |
( |
| ) |
const |
|
inlinevirtual |
◆ supportsLogicalOpControlFlow()
virtual bool clang::ento::PathDiagnosticConsumer::supportsLogicalOpControlFlow |
( |
| ) |
const |
|
inlinevirtual |
◆ Diags
llvm::FoldingSet<PathDiagnostic> clang::ento::PathDiagnosticConsumer::Diags |
|
protected |
◆ flushed
bool clang::ento::PathDiagnosticConsumer::flushed = false |
|
protected |
The documentation for this class was generated from the following files: