clang  6.0.0svn
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 3688 of file Sema.h.

Constructor & Destructor Documentation

◆ FunctionScopeRAII()

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

Definition at line 3691 of file Sema.h.

◆ ~FunctionScopeRAII()

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

Definition at line 3692 of file Sema.h.

References clang::Sema::PopFunctionScopeInfo().

Member Function Documentation

◆ disable()

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

Definition at line 3696 of file Sema.h.

References ColonLoc.

Member Data Documentation

◆ Active

bool clang::Sema::FunctionScopeRAII::Active

Definition at line 3690 of file Sema.h.

◆ S

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

Definition at line 3689 of file Sema.h.


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