clang  10.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 4006 of file Sema.h.

Constructor & Destructor Documentation

◆ FunctionScopeRAII()

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

Definition at line 4009 of file Sema.h.

◆ ~FunctionScopeRAII()

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

Definition at line 4010 of file Sema.h.

References clang::Sema::PopFunctionScopeInfo().

Member Function Documentation

◆ disable()

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

Definition at line 4014 of file Sema.h.

References ColonLoc, and clang::First.

Member Data Documentation

◆ Active

bool clang::Sema::FunctionScopeRAII::Active

Definition at line 4008 of file Sema.h.

◆ S

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

Definition at line 4007 of file Sema.h.

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