diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2015-12-07 12:52:51 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2015-12-07 12:52:51 +0000 |
commit | 1fd4aed26b0c952dea8b48093cac93f34779d2fd (patch) | |
tree | 062d46585b71380f881588dc9c84f570baf8b4fa /clang/lib/AST/StmtProfile.cpp | |
parent | 19da1f16c22488ce99dea549025d069b37a267cb (diff) | |
download | bcm5719-llvm-1fd4aed26b0c952dea8b48093cac93f34779d2fd.tar.gz bcm5719-llvm-1fd4aed26b0c952dea8b48093cac93f34779d2fd.zip |
[OPENMP 4.5] parsing/sema support for 'grainsize' clause.
OpenMP 4.5 adds 'taksloop' and 'taskloop simd' directives, which have 'grainsize' clause. Patch adds parsing/sema analysis of this clause.
llvm-svn: 254903
Diffstat (limited to 'clang/lib/AST/StmtProfile.cpp')
-rw-r--r-- | clang/lib/AST/StmtProfile.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/AST/StmtProfile.cpp b/clang/lib/AST/StmtProfile.cpp index a4255aa621d..b779b4f0b52 100644 --- a/clang/lib/AST/StmtProfile.cpp +++ b/clang/lib/AST/StmtProfile.cpp @@ -465,6 +465,9 @@ void OMPClauseProfiler::VisitOMPThreadLimitClause( void OMPClauseProfiler::VisitOMPPriorityClause(const OMPPriorityClause *C) { Profiler->VisitStmt(C->getPriority()); } +void OMPClauseProfiler::VisitOMPGrainsizeClause(const OMPGrainsizeClause *C) { + Profiler->VisitStmt(C->getGrainsize()); +} } void |