Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
clang/lib/CodeGen/EHScopeStack.h
Show First 20 Lines • Show All 343 Lines • ▼ Show 20 Lines | public: | ||||
// Returns true iff the current scope is either empty or contains only | // Returns true iff the current scope is either empty or contains only | ||||
// lifetime markers, i.e. no real cleanup code | // lifetime markers, i.e. no real cleanup code | ||||
bool containsOnlyLifetimeMarkers(stable_iterator Old) const; | bool containsOnlyLifetimeMarkers(stable_iterator Old) const; | ||||
/// Determines whether the exception-scopes stack is empty. | /// Determines whether the exception-scopes stack is empty. | ||||
bool empty() const { return StartOfData == EndOfBuffer; } | bool empty() const { return StartOfData == EndOfBuffer; } | ||||
/// Determines whether the current scope is of kind Terminate. | |||||
bool inTerminateScope() const; | |||||
bool requiresLandingPad() const; | bool requiresLandingPad() const; | ||||
/// Determines whether there are any normal cleanups on the stack. | /// Determines whether there are any normal cleanups on the stack. | ||||
bool hasNormalCleanups() const { | bool hasNormalCleanups() const { | ||||
return InnermostNormalCleanup != stable_end(); | return InnermostNormalCleanup != stable_end(); | ||||
} | } | ||||
/// Returns the innermost normal cleanup on the stack, or | /// Returns the innermost normal cleanup on the stack, or | ||||
▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines |