clang 23.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 ()
 CaptureDroppedDiagnostics (const CaptureDroppedDiagnostics &)=delete
CaptureDroppedDiagnosticsoperator= (const CaptureDroppedDiagnostics &)=delete

Detailed Description

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

Definition at line 942 of file ASTUnit.h.

Constructor & Destructor Documentation

◆ CaptureDroppedDiagnostics() [1/2]

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.

Referenced by CaptureDroppedDiagnostics(), and operator=().

◆ ~CaptureDroppedDiagnostics()

CaptureDroppedDiagnostics::~CaptureDroppedDiagnostics ( )

Definition at line 650 of file ASTUnit.cpp.

◆ CaptureDroppedDiagnostics() [2/2]

clang::CaptureDroppedDiagnostics::CaptureDroppedDiagnostics ( const CaptureDroppedDiagnostics & )
delete

Member Function Documentation

◆ operator=()

CaptureDroppedDiagnostics & clang::CaptureDroppedDiagnostics::operator= ( const CaptureDroppedDiagnostics & )
delete

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