clang API Documentation

Public Member Functions
clang::DiagnosticNoteRenderer Class Reference

#include <DiagnosticRenderer.h>

Inheritance diagram for clang::DiagnosticNoteRenderer:
Inheritance graph
[legend]
Collaboration diagram for clang::DiagnosticNoteRenderer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DiagnosticNoteRenderer (const LangOptions &LangOpts, DiagnosticOptions *DiagOpts)
virtual ~DiagnosticNoteRenderer ()
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

Detailed Description

Subclass of DiagnosticRender that turns all subdiagostics into explicit notes. It is up to subclasses to further define the behavior.

Definition at line 153 of file DiagnosticRenderer.h.


Constructor & Destructor Documentation

Definition at line 155 of file DiagnosticRenderer.h.

Definition at line 475 of file DiagnosticRenderer.cpp.


Member Function Documentation

void DiagnosticNoteRenderer::emitBuildingModuleLocation ( SourceLocation  Loc,
PresumedLoc  PLoc,
StringRef  ModuleName,
const SourceManager SM 
) [override, virtual]
void DiagnosticNoteRenderer::emitImportLocation ( SourceLocation  Loc,
PresumedLoc  PLoc,
StringRef  ModuleName,
const SourceManager SM 
) [override, virtual]
void DiagnosticNoteRenderer::emitIncludeLocation ( SourceLocation  Loc,
PresumedLoc  PLoc,
const SourceManager SM 
) [override, virtual]
virtual void clang::DiagnosticNoteRenderer::emitNote ( SourceLocation  Loc,
StringRef  Message,
const SourceManager SM 
) [pure virtual]

The documentation for this class was generated from the following files: