summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtProfile.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2013-09-03 12:55:52 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2013-09-03 12:55:52 +0000
commitd4183dabd7a959746d558098762ab61e97d5ee6d (patch)
treeaefe91fd5d6606ab46726a4812c03c0b06f98806 /clang/lib/AST/StmtProfile.cpp
parent32fd46c936ef4701d46804a4a637564f9bec9ebe (diff)
downloadbcm5719-llvm-d4183dabd7a959746d558098762ab61e97d5ee6d.tar.gz
bcm5719-llvm-d4183dabd7a959746d558098762ab61e97d5ee6d.zip
OpenMP: Data-sharing attributes analysis and clause 'shared'
llvm-svn: 189795
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