]> granicus.if.org Git - clang/commit
[OpenMP] Support the 'is_device_ptr' clause with 'target parallel for' pragma
authorKelvin Li <kkwli0@gmail.com>
Tue, 10 Jan 2017 05:15:35 +0000 (05:15 +0000)
committerKelvin Li <kkwli0@gmail.com>
Tue, 10 Jan 2017 05:15:35 +0000 (05:15 +0000)
commitb8a7fd7846dff34f6953e5cada691608cf9a5dd9
tree2127df526f0e7f821a2588de49a52344cedb40d4
parent59a054450c47ffb2e16c15c9afa10e0da081ee48
[OpenMP] Support the 'is_device_ptr' clause with 'target parallel for' pragma

This patch is to add support of the 'is_device_ptr' clause with the 'target parallel for' pragma.

Differential Revision: https://reviews.llvm.org/D28255

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291540 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/OpenMPKinds.def
lib/Sema/SemaOpenMP.cpp
test/OpenMP/target_parallel_for_is_device_ptr_ast_print.cpp [new file with mode: 0644]
test/OpenMP/target_parallel_for_is_device_ptr_messages.cpp [new file with mode: 0644]