clang  9.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

Public Member Functions

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

Public Attributes

bool Active

Detailed Description

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

Definition at line 3832 of file Sema.h.

Constructor & Destructor Documentation

◆ FunctionScopeRAII()

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

Definition at line 3835 of file Sema.h.

◆ ~FunctionScopeRAII()

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

Definition at line 3836 of file Sema.h.

References clang::Sema::PopFunctionScopeInfo().

Member Function Documentation

◆ disable()

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

Definition at line 3840 of file Sema.h.

References ColonLoc, and clang::First.

Member Data Documentation

◆ Active

bool clang::Sema::FunctionScopeRAII::Active

Definition at line 3834 of file Sema.h.

◆ S

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

Definition at line 3833 of file Sema.h.

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