clang  14.0.0git
Public Member Functions | Public Attributes | List of all members
clang::Sema::FunctionScopeRAII Struct Reference

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

#include "clang/Sema/Sema.h"

Collaboration diagram for clang::Sema::FunctionScopeRAII:
Collaboration graph
[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 4685 of file Sema.h.

Constructor & Destructor Documentation

◆ FunctionScopeRAII()

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

Definition at line 4688 of file Sema.h.

◆ ~FunctionScopeRAII()

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

Definition at line 4689 of file Sema.h.

References Active, clang::Sema::PopFunctionScopeInfo(), and S.

Member Function Documentation

◆ disable()

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

Definition at line 4693 of file Sema.h.

References Active.

Member Data Documentation

◆ Active

bool clang::Sema::FunctionScopeRAII::Active

Definition at line 4687 of file Sema.h.

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

◆ S

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

Definition at line 4686 of file Sema.h.

Referenced by ~FunctionScopeRAII().


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