clang API Documentation

Public Member Functions | Static Public Member Functions | Friends
clang::CodeGen::EHScopeStack::stable_iterator Class Reference

#include <EHScopeStack.h>

List of all members.

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)

Detailed Description

A saved depth on the scope stack. This is necessary because pushing scopes onto the stack invalidates iterators.

Definition at line 94 of file EHScopeStack.h.


Constructor & Destructor Documentation

clang::CodeGen::EHScopeStack::stable_iterator::stable_iterator ( ) [inline]

Definition at line 104 of file EHScopeStack.h.

Referenced by invalid().


Member Function Documentation

Returns true if this scope encloses I. Returns false if I is invalid. This scope must be valid.

Definition at line 111 of file EHScopeStack.h.

Referenced by clang::CodeGen::CodeGenFunction::EmitBranchThroughCleanup(), and clang::CodeGen::CodeGenFunction::isObviouslyBranchWithoutCleanups().

Definition at line 103 of file EHScopeStack.h.

References stable_iterator().

Referenced by clang::CodeGen::CodeGenFunction::getJumpDestForLabel().

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 117 of file EHScopeStack.h.

Referenced by clang::CodeGen::CodeGenFunction::EmitBranchThroughCleanup(), IsUsedAsEHCleanup(), IsUsedAsNormalCleanup(), and clang::CodeGen::CodeGenFunction::PopCleanupBlocks().


Friends And Related Function Documentation

friend class EHScopeStack [friend]

Definition at line 95 of file EHScopeStack.h.

bool operator!= ( stable_iterator  A,
stable_iterator  B 
) [friend]

Definition at line 122 of file EHScopeStack.h.

bool operator== ( stable_iterator  A,
stable_iterator  B 
) [friend]

Definition at line 119 of file EHScopeStack.h.


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