clang 22.0.0git
clang::IgnoringDiagConsumer Class Reference

A diagnostic client that ignores all diagnostics. More...

#include "clang/Basic/Diagnostic.h"

Inheritance diagram for clang::IgnoringDiagConsumer:
[legend]

Additional Inherited Members

Public Member Functions inherited from clang::DiagnosticConsumer
 DiagnosticConsumer ()=default
virtual ~DiagnosticConsumer ()
unsigned getNumErrors () const
unsigned getNumWarnings () const
virtual void clear ()
virtual void BeginSourceFile (const LangOptions &LangOpts, const Preprocessor *PP=nullptr)
 Callback to inform the diagnostic client that processing of a source file is beginning.
virtual void EndSourceFile ()
 Callback to inform the diagnostic client that processing of a source file has ended.
virtual void finish ()
 Callback to inform the diagnostic client that processing of all source files has ended.
virtual bool IncludeInDiagnosticCounts () const
 Indicates whether the diagnostics handled by this DiagnosticConsumer should be included in the number of diagnostics reported by DiagnosticsEngine.
Protected Attributes inherited from clang::DiagnosticConsumer
unsigned NumWarnings = 0
 Number of warnings reported.
unsigned NumErrors = 0
 Number of errors reported.

Detailed Description

A diagnostic client that ignores all diagnostics.

Definition at line 1777 of file Diagnostic.h.


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