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

Constructor & Destructor Documentation

◆ FunctionScopeRAII()

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

Definition at line 3689 of file Sema.h.

◆ ~FunctionScopeRAII()

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

Definition at line 3690 of file Sema.h.

References clang::Sema::PopFunctionScopeInfo().

Member Function Documentation

◆ disable()

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

Definition at line 3694 of file Sema.h.

References ColonLoc.

Member Data Documentation

◆ Active

bool clang::Sema::FunctionScopeRAII::Active

Definition at line 3688 of file Sema.h.

◆ S

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

Definition at line 3687 of file Sema.h.

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