summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtProfile.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2013-09-06 18:03:48 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2013-09-06 18:03:48 +0000
commit758e55ee58d6835706d1b2dc31090c920bd50603 (patch)
tree02c3c426d35e45c8cc5e98f453b43f5bf3f9bdf5 /clang/lib/AST/StmtProfile.cpp
parentb248b4a1deca374e2b7909eb30a5cee0abeca4bc (diff)
downloadbcm5719-llvm-758e55ee58d6835706d1b2dc31090c920bd50603.tar.gz
bcm5719-llvm-758e55ee58d6835706d1b2dc31090c920bd50603.zip
OpenMP: Data-sharing attributes analysis and clause 'shared' (fixed test threadprivate_messages.cpp)
llvm-svn: 190183
Diffstat (limited to 'clang/lib/AST/StmtProfile.cpp')
-rw-r--r--clang/lib/AST/StmtProfile.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/AST/StmtProfile.cpp b/clang/lib/AST/StmtProfile.cpp
index eb93c1df0e2..77c34c41aaf 100644
--- a/clang/lib/AST/StmtProfile.cpp
+++ b/clang/lib/AST/StmtProfile.cpp
@@ -272,6 +272,9 @@ void OMPClauseProfiler::VisitOMPDefaultClause(const OMPDefaultClause *C) { }
void OMPClauseProfiler::VisitOMPPrivateClause(const OMPPrivateClause *C) {
PROCESS_OMP_CLAUSE_LIST(OMPPrivateClause, C)
}
+void OMPClauseProfiler::VisitOMPSharedClause(const OMPSharedClause *C) {
+ PROCESS_OMP_CLAUSE_LIST(OMPSharedClause, C)
+}
#undef PROCESS_OMP_CLAUSE_LIST
}
OpenPOWER on IntegriCloud