clang 22.0.0git
clang::Sema::DeferDiagsRAII Class Reference

RAII class to control scope of DeferDiags. More...

#include "clang/Sema/Sema.h"

Public Member Functions

 DeferDiagsRAII (Sema &S, bool DeferDiags)
 ~DeferDiagsRAII ()
 DeferDiagsRAII (const DeferDiagsRAII &)=delete
DeferDiagsRAIIoperator= (const DeferDiagsRAII &)=delete

Detailed Description

RAII class to control scope of DeferDiags.

Definition at line 10038 of file Sema.h.

Constructor & Destructor Documentation

◆ DeferDiagsRAII() [1/2]

clang::Sema::DeferDiagsRAII::DeferDiagsRAII ( Sema & S,
bool DeferDiags )
inline

Definition at line 10043 of file Sema.h.

References clang::Sema::DeferDiags, and clang::Sema::Sema().

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

◆ ~DeferDiagsRAII()

clang::Sema::DeferDiagsRAII::~DeferDiagsRAII ( )
inline

Definition at line 10047 of file Sema.h.

◆ DeferDiagsRAII() [2/2]

clang::Sema::DeferDiagsRAII::DeferDiagsRAII ( const DeferDiagsRAII & )
delete

References DeferDiagsRAII().

Member Function Documentation

◆ operator=()

DeferDiagsRAII & clang::Sema::DeferDiagsRAII::operator= ( const DeferDiagsRAII & )
delete

References DeferDiagsRAII().


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