diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2015-12-03 09:40:15 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2015-12-03 09:40:15 +0000 |
commit | 0a6ed84a0d2f3c7c5aeb9d6b702ac127613d2b1b (patch) | |
tree | b620bf6989da38a339fe426f1388412a9ce456fd /clang/lib/Sema/TreeTransform.h | |
parent | 830dfccfb2c06a1749938ce8cb78a1d6a295b942 (diff) | |
download | bcm5719-llvm-0a6ed84a0d2f3c7c5aeb9d6b702ac127613d2b1b.tar.gz bcm5719-llvm-0a6ed84a0d2f3c7c5aeb9d6b702ac127613d2b1b.zip |
[OPENMP 4.5] Parsing/sema support for 'omp taskloop simd' directive.
OpenMP 4.5 adds directive 'taskloop simd'. Patch adds parsing/sema analysis for 'taskloop simd' directive and its clauses.
llvm-svn: 254597
Diffstat (limited to 'clang/lib/Sema/TreeTransform.h')
-rw-r--r-- | clang/lib/Sema/TreeTransform.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/clang/lib/Sema/TreeTransform.h b/clang/lib/Sema/TreeTransform.h index 1f85f0d499b..9baa797188a 100644 --- a/clang/lib/Sema/TreeTransform.h +++ b/clang/lib/Sema/TreeTransform.h @@ -7364,6 +7364,17 @@ TreeTransform<Derived>::TransformOMPTaskLoopDirective(OMPTaskLoopDirective *D) { return Res; } +template <typename Derived> +StmtResult TreeTransform<Derived>::TransformOMPTaskLoopSimdDirective( + OMPTaskLoopSimdDirective *D) { + DeclarationNameInfo DirName; + getDerived().getSema().StartOpenMPDSABlock(OMPD_taskloop_simd, DirName, + nullptr, D->getLocStart()); + StmtResult Res = getDerived().TransformOMPExecutableDirective(D); + getDerived().getSema().EndOpenMPDSABlock(Res.get()); + return Res; +} + //===----------------------------------------------------------------------===// // OpenMP clause transformation //===----------------------------------------------------------------------===// |