summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtProfile.cpp
diff options
context:
space:
mode:
authorcchen <cchen@cray.com>2019-12-04 14:36:07 -0500
committerAlexey Bataev <a.bataev@hotmail.com>2019-12-04 14:53:17 -0500
commit713dab21e27c987b9114547ce7136bac2e775de9 (patch)
tree696ff853d8c9db4fab6b73fbfcab6de0c4185d0d /clang/lib/AST/StmtProfile.cpp
parent9e978bb01ceae8eaa415d8951cc96803e68b73fb (diff)
downloadbcm5719-llvm-713dab21e27c987b9114547ce7136bac2e775de9.tar.gz
bcm5719-llvm-713dab21e27c987b9114547ce7136bac2e775de9.zip
[OpenMP50] Add parallel master construct, by Chi Chun Chen.
Reviewers: ABataev, jdoerfert Reviewed By: ABataev Subscribers: jholewinski, guansong, arphaman, jfb, cfe-commits, sandoval, dreachem Tags: #clang Differential Revision: https://reviews.llvm.org/D70726
Diffstat (limited to 'clang/lib/AST/StmtProfile.cpp')
-rw-r--r--clang/lib/AST/StmtProfile.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/AST/StmtProfile.cpp b/clang/lib/AST/StmtProfile.cpp
index 9edd9e5d585..c94d2c54bae 100644
--- a/clang/lib/AST/StmtProfile.cpp
+++ b/clang/lib/AST/StmtProfile.cpp
@@ -833,6 +833,11 @@ void StmtProfiler::VisitOMPParallelForSimdDirective(
VisitOMPLoopDirective(S);
}
+void StmtProfiler::VisitOMPParallelMasterDirective(
+ const OMPParallelMasterDirective *S) {
+ VisitOMPExecutableDirective(S);
+}
+
void StmtProfiler::VisitOMPParallelSectionsDirective(
const OMPParallelSectionsDirective *S) {
VisitOMPExecutableDirective(S);
OpenPOWER on IntegriCloud