clang 22.0.0git
clang::Sema::FunctionScopeRAII Struct Reference

An RAII helper that pops function a function scope on exit. More...

#include "clang/Sema/Sema.h"

Inheritance diagram for clang::Sema::FunctionScopeRAII:
[legend]

Public Member Functions

 FunctionScopeRAII (Sema &S)
 ~FunctionScopeRAII ()
void disable ()

Public Attributes

SemaS
bool Active

Detailed Description

An RAII helper that pops function a function scope on exit.

Definition at line 1303 of file Sema.h.

Constructor & Destructor Documentation

◆ FunctionScopeRAII()

clang::Sema::FunctionScopeRAII::FunctionScopeRAII ( Sema & S)
inline

◆ ~FunctionScopeRAII()

clang::Sema::FunctionScopeRAII::~FunctionScopeRAII ( )
inline

Definition at line 1307 of file Sema.h.

References Active, and S.

Member Function Documentation

◆ disable()

void clang::Sema::FunctionScopeRAII::disable ( )
inline

Member Data Documentation

◆ Active

bool clang::Sema::FunctionScopeRAII::Active

Definition at line 1305 of file Sema.h.

Referenced by disable(), FunctionScopeRAII(), and ~FunctionScopeRAII().

◆ S

Sema& clang::Sema::FunctionScopeRAII::S

Definition at line 1304 of file Sema.h.

Referenced by FunctionScopeRAII(), and ~FunctionScopeRAII().


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