clang API Documentation
#include <CodeGenFunction.h>


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. | |
Definition at line 838 of file CodeGenFunction.h.
| clang::CodeGen::CodeGenFunction::LexicalScope::LexicalScope | ( | CodeGenFunction & | CGF, |
| SourceRange | Range | ||
| ) | [inline, explicit] |
Enter a new cleanup scope.
Definition at line 847 of file CodeGenFunction.h.
References clang::CodeGen::CodeGenFunction::Builder, clang::SourceRange::getBegin(), and clang::CodeGen::CodeGenFunction::getDebugInfo().
| clang::CodeGen::CodeGenFunction::LexicalScope::~LexicalScope | ( | ) | [inline] |
Exit this cleanup scope, emitting any accumulated cleanups.
Definition at line 855 of file CodeGenFunction.h.
References clang::CodeGen::CodeGenFunction::Builder, clang::CodeGen::CodeGenFunction::RunCleanupsScope::CGF, clang::CodeGen::CGDebugInfo::EmitLexicalBlockEnd(), clang::CodeGen::CodeGenFunction::getDebugInfo(), and clang::SourceRange::getEnd().
| 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().