[OPENMP] Fixed processing of predetermined data-sharing attributes
authorAlexey Bataev <a.bataev@hotmail.com>
Thu, 10 Dec 2015 08:20:58 +0000 (08:20 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 10 Dec 2015 08:20:58 +0000 (08:20 +0000)
commitdffa93a620bcaf9dcb49352b26db3e1bd6546c4c
treeaa38ca1ca4522498fbbb12d596d36b4cc4b56d86
parent6bfade1b811a227f4c6cc159f54d4ace008367b6
[OPENMP] Fixed processing of predetermined data-sharing attributes
Predetermined data-shared attributes for local variables are now considered as implicit. Also, patch prohibits changin of DSA for static memebers of classes.

llvm-svn: 255229
22 files changed:
clang/lib/Sema/SemaOpenMP.cpp
clang/test/OpenMP/for_firstprivate_messages.cpp
clang/test/OpenMP/for_misc_messages.c
clang/test/OpenMP/for_simd_firstprivate_messages.cpp
clang/test/OpenMP/for_simd_misc_messages.c
clang/test/OpenMP/parallel_for_lastprivate_messages.cpp
clang/test/OpenMP/parallel_for_misc_messages.c
clang/test/OpenMP/parallel_for_reduction_messages.cpp
clang/test/OpenMP/parallel_for_simd_lastprivate_messages.cpp
clang/test/OpenMP/parallel_for_simd_reduction_messages.cpp
clang/test/OpenMP/parallel_private_messages.cpp
clang/test/OpenMP/parallel_reduction_messages.cpp
clang/test/OpenMP/parallel_sections_lastprivate_messages.cpp
clang/test/OpenMP/parallel_sections_reduction_messages.cpp
clang/test/OpenMP/sections_firstprivate_messages.cpp
clang/test/OpenMP/simd_misc_messages.c
clang/test/OpenMP/single_firstprivate_messages.cpp
clang/test/OpenMP/task_private_messages.cpp
clang/test/OpenMP/taskloop_lastprivate_messages.cpp
clang/test/OpenMP/taskloop_simd_lastprivate_messages.cpp
clang/test/OpenMP/teams_private_messages.cpp
clang/test/OpenMP/teams_reduction_messages.cpp