clang 22.0.0git
clang::CaptureDroppedDiagnostics Class Reference

RAII object that optionally captures and filters diagnostics, if there is no diagnostic client to capture them already. More...

#include "clang/Frontend/ASTUnit.h"

Public Member Functions

 CaptureDroppedDiagnostics (CaptureDiagsKind CaptureDiagnostics, DiagnosticsEngine &Diags, SmallVectorImpl< StoredDiagnostic > *StoredDiags, SmallVectorImpl< StandaloneDiagnostic > *StandaloneDiags)
 ~CaptureDroppedDiagnostics ()

Detailed Description

RAII object that optionally captures and filters diagnostics, if there is no diagnostic client to capture them already.

Definition at line 935 of file ASTUnit.h.

Constructor & Destructor Documentation

◆ CaptureDroppedDiagnostics()

CaptureDroppedDiagnostics::CaptureDroppedDiagnostics ( CaptureDiagsKind CaptureDiagnostics,
DiagnosticsEngine & Diags,
SmallVectorImpl< StoredDiagnostic > * StoredDiags,
SmallVectorImpl< StandaloneDiagnostic > * StandaloneDiags )

Definition at line 634 of file ASTUnit.cpp.

References clang::AllWithoutNonErrorsFromIncludes, and clang::None.

◆ ~CaptureDroppedDiagnostics()

CaptureDroppedDiagnostics::~CaptureDroppedDiagnostics ( )

Definition at line 650 of file ASTUnit.cpp.


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