]> granicus.if.org Git - clang/commit
[OpenMP] Prepare sema to support combined constructs with omp distribute and omp for
authorCarlo Bertolli <cbertol@us.ibm.com>
Thu, 20 Apr 2017 00:39:39 +0000 (00:39 +0000)
committerCarlo Bertolli <cbertol@us.ibm.com>
Thu, 20 Apr 2017 00:39:39 +0000 (00:39 +0000)
commit66273610fe73e4a6649501ee022efedd7eef08a0
tree601f2c191e7ff35817a7cfd5da579d64d6e21b78
parentbcc0d62a93949fb390a5c7464d56b0462760e64a
[OpenMP] Prepare sema to support combined constructs with omp distribute and omp for

https://reviews.llvm.org/D32237

This patch prepares sema with additional fields to support all those composite and combined constructs of OpenMP that include pragma 'distribute' and 'for', such as 'distribute parallel for'. It also extends the regression tests for 'distribute parallel for' and adds a new one.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@300802 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/StmtOpenMP.h
lib/AST/StmtOpenMP.cpp
lib/Basic/OpenMPKinds.cpp
lib/Sema/SemaOpenMP.cpp
lib/Serialization/ASTReaderStmt.cpp
lib/Serialization/ASTWriterStmt.cpp
test/OpenMP/distribute_parallel_for_ast_print.cpp
test/OpenMP/distribute_parallel_for_messages.cpp [new file with mode: 0644]