class IgnoringDiagConsumer
Declaration
class IgnoringDiagConsumer : public DiagnosticConsumer { /* full declaration omitted */ };
Description
A diagnostic client that ignores all diagnostics.
Declared at: clang/include/clang/Basic/Diagnostic.h:1794
Inherits from: DiagnosticConsumer
Member Variables
Inherited from DiagnosticConsumer:
Method Overview
- private void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, const clang::Diagnostic & Info)
- private virtual void anchor()
Inherited from DiagnosticConsumer:
- public BeginSourceFile
- public EndSourceFile
- public HandleDiagnostic
- public IncludeInDiagnosticCounts
- public clear
- public finish
- public getNumErrors
- public getNumWarnings
Methods
¶void HandleDiagnostic(
DiagnosticsEngine::Level DiagLevel,
const clang::Diagnostic& Info)
void HandleDiagnostic(
DiagnosticsEngine::Level DiagLevel,
const clang::Diagnostic& Info)
Description
Handle this diagnostic, reporting it to the user or capturing it to a log as needed. The default implementation just keeps track of the total number of warnings and errors.
Declared at: clang/include/clang/Basic/Diagnostic.h:1797
Parameters
- DiagnosticsEngine::Level DiagLevel
- const clang::Diagnostic& Info
¶virtual void anchor()
virtual void anchor()
Declared at: clang/include/clang/Basic/Diagnostic.h:1795