diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-09-03 14:33:09 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-09-03 14:33:09 +0000 |
commit | 4367829b41e89d2f3dfae94a97af40ffa01c56c9 (patch) | |
tree | 14e605eac898aec9c3551b00ed417fa78613fe60 /include/clang/Sema/Scope.h | |
parent | 5d4fa91fecea57a8a77e7749a38676141277a0ab (diff) |
Revert "OpenMP: Data-sharing attributes analysis and clause 'shared'"
This reverts commit r189795.
threadprivate_messages.cpp is faling on windows.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189811 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Sema/Scope.h')
-rw-r--r-- | include/clang/Sema/Scope.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/include/clang/Sema/Scope.h b/include/clang/Sema/Scope.h index c9c3099914..d016b9b887 100644 --- a/include/clang/Sema/Scope.h +++ b/include/clang/Sema/Scope.h @@ -91,10 +91,7 @@ public: TryScope = 0x2000, /// \brief This is the scope for a function-level C++ try or catch scope. - FnTryCatchScope = 0x4000, - - /// \brief This is the scope of OpenMP executable directive - OpenMPDirectiveScope = 0x8000 + FnTryCatchScope = 0x4000 }; private: /// The parent scope for this scope. This is null for the translation-unit @@ -304,12 +301,7 @@ public: } return false; } - - /// \brief Determines whether this scope is the OpenMP directive scope - bool isOpenMPDirectiveScope() const { - return (getFlags() & Scope::OpenMPDirectiveScope); - } - + /// \brief Determine whether this scope is a C++ 'try' block. bool isTryScope() const { return getFlags() & Scope::TryScope; } |