[OPENMP]Fix behaviour of defaultmap for OpenMP 4.5.
authorAlexey Bataev <a.bataev@hotmail.com>
Fri, 22 Nov 2019 16:09:33 +0000 (11:09 -0500)
committerAlexey Bataev <a.bataev@hotmail.com>
Fri, 22 Nov 2019 16:26:09 +0000 (11:26 -0500)
commit6f7c8760a5c01edaa8e9c8e48940e1b8a7aa4128
treeac17f06a612f753451693dfa9e5bf4b437027440
parent1a58be2ac58ca078c91c9d1700220d88091b256f
[OPENMP]Fix behaviour of defaultmap for OpenMP 4.5.

In OpenMP 4.5 pointers also must be considered as scalar types and
defaultmap(tofrom:scalar) clause must affect mapping of the pointers
too.
clang/lib/Sema/SemaOpenMP.cpp
clang/test/OpenMP/target_map_codegen.cpp