diff options
author | dim <dim@FreeBSD.org> | 2012-12-22 15:00:54 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2012-12-22 15:00:54 +0000 |
commit | 5b20025c30d23d521e12c1f33ec8fa6b821952cd (patch) | |
tree | d97cbb4c3a7d0c7da83f0baa1fa220f188e9c6df /include/clang/Sema/Scope.h | |
parent | 056abd2059c65a3e908193aeae16fad98017437c (diff) | |
download | FreeBSD-src-5b20025c30d23d521e12c1f33ec8fa6b821952cd.zip FreeBSD-src-5b20025c30d23d521e12c1f33ec8fa6b821952cd.tar.gz |
Vendor import of clang tags/RELEASE_32/final r170710 (effectively, 3.2
release):
http://llvm.org/svn/llvm-project/cfe/tags/RELEASE_32/final@170710
Diffstat (limited to 'include/clang/Sema/Scope.h')
-rw-r--r-- | include/clang/Sema/Scope.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/clang/Sema/Scope.h b/include/clang/Sema/Scope.h index fa508cf..1329f97 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 |