[OpenMP] Parsing + sema for target parallel for directive.
authorArpith Chacko Jacob <acjacob@us.ibm.com>
Wed, 3 Feb 2016 15:46:42 +0000 (15:46 +0000)
committerArpith Chacko Jacob <acjacob@us.ibm.com>
Wed, 3 Feb 2016 15:46:42 +0000 (15:46 +0000)
commit05bebb578a54774d9fc530600157dcf8bbd09532
tree47f8b62ccca6d89437e7dbeeddb0f231bab50ebf
parent23aea0d5d056d51070dc68ce609ee3c5b6eb5a38
[OpenMP] Parsing + sema for target parallel for directive.

Summary:
This patch adds parsing + sema for the target parallel for directive along with testcases.

Reviewers: ABataev

Differential Revision: http://reviews.llvm.org/D16759

llvm-svn: 259654
44 files changed:
clang/include/clang-c/Index.h
clang/include/clang/AST/RecursiveASTVisitor.h
clang/include/clang/AST/StmtOpenMP.h
clang/include/clang/Basic/OpenMPKinds.def
clang/include/clang/Basic/StmtNodes.td
clang/include/clang/Sema/Sema.h
clang/include/clang/Serialization/ASTBitCodes.h
clang/lib/AST/StmtOpenMP.cpp
clang/lib/AST/StmtPrinter.cpp
clang/lib/AST/StmtProfile.cpp
clang/lib/Basic/OpenMPKinds.cpp
clang/lib/CodeGen/CGStmt.cpp
clang/lib/CodeGen/CGStmtOpenMP.cpp
clang/lib/CodeGen/CodeGenFunction.h
clang/lib/Parse/ParseOpenMP.cpp
clang/lib/Sema/SemaOpenMP.cpp
clang/lib/Sema/TreeTransform.h
clang/lib/Serialization/ASTReaderStmt.cpp
clang/lib/Serialization/ASTWriterStmt.cpp
clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
clang/test/OpenMP/nesting_of_regions.cpp
clang/test/OpenMP/target_parallel_for_ast_print.cpp [new file with mode: 0644]
clang/test/OpenMP/target_parallel_for_collapse_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/target_parallel_for_default_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/target_parallel_for_defaultmap_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/target_parallel_for_depend_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/target_parallel_for_device_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/target_parallel_for_firstprivate_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/target_parallel_for_if_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/target_parallel_for_lastprivate_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/target_parallel_for_linear_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/target_parallel_for_loop_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/target_parallel_for_map_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/target_parallel_for_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/target_parallel_for_misc_messages.c [new file with mode: 0644]
clang/test/OpenMP/target_parallel_for_nowait_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/target_parallel_for_num_threads_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/target_parallel_for_ordered_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/target_parallel_for_private_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/target_parallel_for_proc_bind_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/target_parallel_for_reduction_messages.cpp [new file with mode: 0644]
clang/test/OpenMP/target_parallel_for_schedule_messages.cpp [new file with mode: 0644]
clang/tools/libclang/CIndex.cpp
clang/tools/libclang/CXCursor.cpp