Skip to content
Snippets Groups Projects
Commit 38219baa authored by Nico Weber's avatar Nico Weber
Browse files

Add comments for two CleanupKinds.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@230459 91177308-0d34-0410-b5e6-96231b3b80d8
parent 48900547
No related branches found
No related tags found
No related merge requests found
...@@ -75,8 +75,14 @@ template <class T> struct DominatingPointer<T,false> : InvariantValue<T*> {}; ...@@ -75,8 +75,14 @@ template <class T> struct DominatingPointer<T,false> : InvariantValue<T*> {};
template <class T> struct DominatingValue<T*> : DominatingPointer<T> {}; template <class T> struct DominatingValue<T*> : DominatingPointer<T> {};
enum CleanupKind : unsigned { enum CleanupKind : unsigned {
/// Denotes a cleanup that should run when a scope is exited using exceptional
/// control flow (a throw statement leading to stack unwinding, ).
EHCleanup = 0x1, EHCleanup = 0x1,
/// Denotes a cleanup that should run when a scope is exited using normal
/// control flow (falling off the end of the scope, return, goto, ...).
NormalCleanup = 0x2, NormalCleanup = 0x2,
NormalAndEHCleanup = EHCleanup | NormalCleanup, NormalAndEHCleanup = EHCleanup | NormalCleanup,
InactiveCleanup = 0x4, InactiveCleanup = 0x4,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment