aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2012-12-22 15:00:54 +0000
committerDimitry Andric <dim@FreeBSD.org>2012-12-22 15:00:54 +0000
commitbe7c9ec198dcdb5bf73a35bfbb00b3333cb87909 (patch)
treed97cbb4c3a7d0c7da83f0baa1fa220f188e9c6df /include
parent13cc256e404620c1de0cbcc4e43ce1e2dbbc4898 (diff)
Notes
Diffstat (limited to 'include')
-rw-r--r--include/clang/Sema/Scope.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/clang/Sema/Scope.h b/include/clang/Sema/Scope.h
index fa508cfc22d9..1329f97c2bcf 100644
--- a/include/clang/Sema/Scope.h
+++ b/include/clang/Sema/Scope.h
@@ -84,11 +84,18 @@ public:
/// TryScope - This is the scope of a C++ try statement.
TryScope = 0x1000,
+ /// CatchScope - This is the scope of a C++ catch statement.
+ CatchScope = 0x2000,
+
+ /// FnTryCatchScope - This is the scope for a function-level C++ try or
+ /// catch scope.
+ FnTryCatchScope = 0x4000,
+
/// FnTryScope - This is the scope of a function-level C++ try scope.
- FnTryScope = 0x3000,
+ FnTryScope = TryScope | FnTryCatchScope,
/// FnCatchScope - This is the scope of a function-level C++ catch scope.
- FnCatchScope = 0x4000
+ FnCatchScope = CatchScope | FnTryCatchScope
};
private:
/// The parent scope for this scope. This is null for the translation-unit