diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2013-03-22 06:34:35 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2013-03-22 06:34:35 +0000 |
commit | c640058aa7f224a71ce3b1d2601d84e1b57f82d3 (patch) | |
tree | 9b76815ba1471c89d54aee2255d56e0d513c8049 /lib/AST/DeclBase.cpp | |
parent | 9bb4a0c195eda6e034c467a63b9ada2209a6df3f (diff) |
OpenMP threadprivate directive parsing and semantic analysis
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177705 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclBase.cpp')
-rw-r--r-- | lib/AST/DeclBase.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/AST/DeclBase.cpp b/lib/AST/DeclBase.cpp index 0db520e7d6..1e60560485 100644 --- a/lib/AST/DeclBase.cpp +++ b/lib/AST/DeclBase.cpp @@ -20,6 +20,7 @@ #include "clang/AST/DeclContextInternals.h" #include "clang/AST/DeclFriend.h" #include "clang/AST/DeclObjC.h" +#include "clang/AST/DeclOpenMP.h" #include "clang/AST/DeclTemplate.h" #include "clang/AST/DependentDiagnostic.h" #include "clang/AST/ExternalASTSource.h" @@ -561,6 +562,7 @@ unsigned Decl::getIdentifierNamespaceForKind(Kind DeclKind) { case ObjCCategory: case ObjCCategoryImpl: case Import: + case OMPThreadPrivate: case Empty: // Never looked up by name. return 0; |