clang API Documentation

Public Member Functions
clang::CodeGen::CodeGenFunction::LexicalScope Class Reference

#include <CodeGenFunction.h>

Inheritance diagram for clang::CodeGen::CodeGenFunction::LexicalScope:
Inheritance graph
[legend]
Collaboration diagram for clang::CodeGen::CodeGenFunction::LexicalScope:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LexicalScope (CodeGenFunction &CGF, SourceRange Range)
 Enter a new cleanup scope.
 ~LexicalScope ()
 Exit this cleanup scope, emitting any accumulated cleanups.
void ForceCleanup ()
 Force the emission of cleanups now, instead of waiting until this object is destroyed.

Detailed Description

Definition at line 838 of file CodeGenFunction.h.


Constructor & Destructor Documentation

clang::CodeGen::CodeGenFunction::LexicalScope::LexicalScope ( CodeGenFunction CGF,
SourceRange  Range 
) [inline, explicit]
clang::CodeGen::CodeGenFunction::LexicalScope::~LexicalScope ( ) [inline]

Member Function Documentation

void clang::CodeGen::CodeGenFunction::LexicalScope::ForceCleanup ( ) [inline]

Force the emission of cleanups now, instead of waiting until this object is destroyed.

Reimplemented from clang::CodeGen::CodeGenFunction::RunCleanupsScope.

Definition at line 864 of file CodeGenFunction.h.

References clang::CodeGen::CodeGenFunction::Builder, clang::CodeGen::CodeGenFunction::RunCleanupsScope::CGF, clang::CodeGen::CodeGenFunction::getDebugInfo(), and clang::SourceRange::getEnd().


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