diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2014-07-21 11:26:11 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2014-07-21 11:26:11 +0000 |
commit | 6125da9258e6e070b5188a30715eef9e6e695f71 (patch) | |
tree | 1ff7bb0c664c8c49576f4e09338dc3303daaea6b /clang/lib/AST/StmtProfile.cpp | |
parent | d7c279604551c091290fc8e5dadb26142ebef459 (diff) | |
download | bcm5719-llvm-6125da9258e6e070b5188a30715eef9e6e695f71.tar.gz bcm5719-llvm-6125da9258e6e070b5188a30715eef9e6e695f71.zip |
[OPENMP] Initial parsing and sema analysis for 'flush' directive.
llvm-svn: 213512
Diffstat (limited to 'clang/lib/AST/StmtProfile.cpp')
-rw-r--r-- | clang/lib/AST/StmtProfile.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/lib/AST/StmtProfile.cpp b/clang/lib/AST/StmtProfile.cpp index 56827ed383a..f44f25c96ab 100644 --- a/clang/lib/AST/StmtProfile.cpp +++ b/clang/lib/AST/StmtProfile.cpp @@ -352,6 +352,9 @@ void OMPClauseProfiler::VisitOMPCopyprivateClause(const OMPCopyprivateClause *C) { VisitOMPClauseList(C); } +void OMPClauseProfiler::VisitOMPFlushClause(const OMPFlushClause *C) { + VisitOMPClauseList(C); +} } void @@ -424,6 +427,10 @@ void StmtProfiler::VisitOMPTaskwaitDirective(const OMPTaskwaitDirective *S) { VisitOMPExecutableDirective(S); } +void StmtProfiler::VisitOMPFlushDirective(const OMPFlushDirective *S) { + VisitOMPExecutableDirective(S); +} + void StmtProfiler::VisitExpr(const Expr *S) { VisitStmt(S); } |