clang API Documentation
#include <CodeGenFunction.h>
Public Member Functions | |
| stable_iterator () | |
| bool | isValid () const |
| bool | encloses (stable_iterator I) const |
| bool | strictlyEncloses (stable_iterator I) const |
Static Public Member Functions | |
| static stable_iterator | invalid () |
Friends | |
| class | EHScopeStack |
| bool | operator== (stable_iterator A, stable_iterator B) |
| bool | operator!= (stable_iterator A, stable_iterator B) |
A saved depth on the scope stack. This is necessary because pushing scopes onto the stack invalidates iterators.
Definition at line 145 of file CodeGenFunction.h.
| clang::CodeGen::EHScopeStack::stable_iterator::stable_iterator | ( | ) | [inline] |
Definition at line 155 of file CodeGenFunction.h.
Referenced by invalid().
| bool clang::CodeGen::EHScopeStack::stable_iterator::encloses | ( | stable_iterator | I | ) | const [inline] |
Returns true if this scope encloses I. Returns false if I is invalid. This scope must be valid.
Definition at line 162 of file CodeGenFunction.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitBranchThroughCleanup(), and clang::CodeGen::CodeGenFunction::isObviouslyBranchWithoutCleanups().
| static stable_iterator clang::CodeGen::EHScopeStack::stable_iterator::invalid | ( | ) | [inline, static] |
Definition at line 154 of file CodeGenFunction.h.
References stable_iterator().
Referenced by clang::CodeGen::CodeGenFunction::getJumpDestForLabel().
| bool clang::CodeGen::EHScopeStack::stable_iterator::isValid | ( | ) | const [inline] |
Definition at line 157 of file CodeGenFunction.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitBlockLiteral(), clang::CodeGen::CodeGenFunction::EmitBranchThroughCleanup(), clang::CodeGen::CodeGenFunction::EmitCXXNewExpr(), clang::CodeGen::CodeGenFunction::EmitLabel(), clang::CodeGen::EHScopeStack::find(), and clang::CodeGen::CodeGenFunction::PopCleanupBlocks().
| bool clang::CodeGen::EHScopeStack::stable_iterator::strictlyEncloses | ( | stable_iterator | I | ) | const [inline] |
Returns true if this scope strictly encloses I: that is, if it encloses I and is not I. Returns false is I is invalid. This scope must be valid.
Definition at line 168 of file CodeGenFunction.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitBranchThroughCleanup(), IsUsedAsEHCleanup(), IsUsedAsNormalCleanup(), and clang::CodeGen::CodeGenFunction::PopCleanupBlocks().
friend class EHScopeStack [friend] |
Definition at line 146 of file CodeGenFunction.h.
| bool operator!= | ( | stable_iterator | A, |
| stable_iterator | B | ||
| ) | [friend] |
Definition at line 173 of file CodeGenFunction.h.
| bool operator== | ( | stable_iterator | A, |
| stable_iterator | B | ||
| ) | [friend] |
Definition at line 170 of file CodeGenFunction.h.