From 1fd4aed26b0c952dea8b48093cac93f34779d2fd Mon Sep 17 00:00:00 2001 From: Alexey Bataev Date: Mon, 7 Dec 2015 12:52:51 +0000 Subject: [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 --- clang/lib/AST/StmtProfile.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'clang/lib/AST/StmtProfile.cpp') 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 -- cgit v1.2.3