|
clang
3.8.0
|
Subclass of DiagnosticRender that turns all subdiagostics into explicit notes. More...
#include <DiagnosticRenderer.h>
Public Member Functions | |
| DiagnosticNoteRenderer (const LangOptions &LangOpts, DiagnosticOptions *DiagOpts) | |
| ~DiagnosticNoteRenderer () override | |
| void | emitIncludeLocation (SourceLocation Loc, PresumedLoc PLoc, const SourceManager &SM) override |
| void | emitImportLocation (SourceLocation Loc, PresumedLoc PLoc, StringRef ModuleName, const SourceManager &SM) override |
| void | emitBuildingModuleLocation (SourceLocation Loc, PresumedLoc PLoc, StringRef ModuleName, const SourceManager &SM) override |
| virtual void | emitNote (SourceLocation Loc, StringRef Message, const SourceManager *SM)=0 |
Public Member Functions inherited from clang::DiagnosticRenderer | |
| void | emitDiagnostic (SourceLocation Loc, DiagnosticsEngine::Level Level, StringRef Message, ArrayRef< CharSourceRange > Ranges, ArrayRef< FixItHint > FixItHints, const SourceManager *SM, DiagOrStoredDiag D=(Diagnostic *) nullptr) |
| Emit a diagnostic. More... | |
| void | emitStoredDiagnostic (StoredDiagnostic &Diag) |
Subclass of DiagnosticRender that turns all subdiagostics into explicit notes.
It is up to subclasses to further define the behavior.
Definition at line 155 of file DiagnosticRenderer.h.
|
inline |
Definition at line 157 of file DiagnosticRenderer.h.
|
override |
Definition at line 625 of file DiagnosticRenderer.cpp.
|
overridevirtual |
Implements clang::DiagnosticRenderer.
Definition at line 654 of file DiagnosticRenderer.cpp.
References emitNote(), clang::PresumedLoc::getFilename(), clang::PresumedLoc::getLine(), and SM.
|
overridevirtual |
Implements clang::DiagnosticRenderer.
Definition at line 638 of file DiagnosticRenderer.cpp.
References emitNote(), clang::PresumedLoc::getFilename(), clang::PresumedLoc::getLine(), clang::PresumedLoc::isValid(), and SM.
|
overridevirtual |
Implements clang::DiagnosticRenderer.
Definition at line 627 of file DiagnosticRenderer.cpp.
References emitNote(), clang::PresumedLoc::getFilename(), clang::PresumedLoc::getLine(), and SM.
|
pure virtual |
Referenced by emitBuildingModuleLocation(), emitImportLocation(), and emitIncludeLocation().
1.8.6