#include "clang/Frontend/SARIFDiagnostic.h"
|
void | emitDiagnosticMessage (FullSourceLoc Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, StringRef Message, ArrayRef< CharSourceRange > Ranges, DiagOrStoredDiag D) override |
|
void | emitDiagnosticLoc (FullSourceLoc Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, ArrayRef< CharSourceRange > Ranges) override |
| Print out the file/line/column information and include trace.
|
|
void | emitCodeContext (FullSourceLoc Loc, DiagnosticsEngine::Level Level, SmallVectorImpl< CharSourceRange > &Ranges, ArrayRef< FixItHint > Hints) override |
|
void | emitIncludeLocation (FullSourceLoc Loc, PresumedLoc PLoc) override |
|
void | emitImportLocation (FullSourceLoc Loc, PresumedLoc PLoc, StringRef ModuleName) override |
|
void | emitBuildingModuleLocation (FullSourceLoc Loc, PresumedLoc PLoc, StringRef ModuleName) override |
|
| DiagnosticRenderer (const LangOptions &LangOpts, DiagnosticOptions *DiagOpts) |
|
virtual | ~DiagnosticRenderer () |
|
virtual void | emitDiagnosticMessage (FullSourceLoc Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, StringRef Message, ArrayRef< CharSourceRange > Ranges, DiagOrStoredDiag Info)=0 |
|
virtual void | emitDiagnosticLoc (FullSourceLoc Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, ArrayRef< CharSourceRange > Ranges)=0 |
|
virtual void | emitCodeContext (FullSourceLoc Loc, DiagnosticsEngine::Level Level, SmallVectorImpl< CharSourceRange > &Ranges, ArrayRef< FixItHint > Hints)=0 |
|
virtual void | emitIncludeLocation (FullSourceLoc Loc, PresumedLoc PLoc)=0 |
|
virtual void | emitImportLocation (FullSourceLoc Loc, PresumedLoc PLoc, StringRef ModuleName)=0 |
|
virtual void | emitBuildingModuleLocation (FullSourceLoc Loc, PresumedLoc PLoc, StringRef ModuleName)=0 |
|
virtual void | beginDiagnostic (DiagOrStoredDiag D, DiagnosticsEngine::Level Level) |
|
virtual void | endDiagnostic (DiagOrStoredDiag D, DiagnosticsEngine::Level Level) |
|
Definition at line 23 of file SARIFDiagnostic.h.
◆ SARIFDiagnostic() [1/3]
◆ ~SARIFDiagnostic()
clang::SARIFDiagnostic::~SARIFDiagnostic |
( |
| ) |
|
|
default |
◆ SARIFDiagnostic() [2/3]
◆ SARIFDiagnostic() [3/3]
◆ emitBuildingModuleLocation()
◆ emitCodeContext()
|
inlineoverrideprotectedvirtual |
◆ emitDiagnosticLoc()
Print out the file/line/column information and include trace.
This method handlen the emission of the diagnostic location information. This includes extracting as much location information as is present for the diagnostic and printing it, as well as any include stack or source ranges necessary.
Implements clang::DiagnosticRenderer.
Definition at line 204 of file SARIFDiagnostic.cpp.
◆ emitDiagnosticMessage()
◆ emitImportLocation()
◆ emitIncludeLocation()
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following files: