]> granicus.if.org Git - clang/commit
[OPENMP] Fixed data-sharing attributes processing for variables with global
authorAlexey Bataev <a.bataev@hotmail.com>
Fri, 16 Jan 2015 07:11:33 +0000 (07:11 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Fri, 16 Jan 2015 07:11:33 +0000 (07:11 +0000)
commit2fcd952ceadde6f14796d98b85ba7b6317a44baa
tree58a96e600695b935b64cc0c8bb8354378759708f
parent1d11866537a9bf722c9c5b516151c23434242e24
[OPENMP] Fixed data-sharing attributes processing for variables with global
storage.
This fix allows to use non-constant global variables, static local variables and static data
members in data-sharing attribute clauses in parallel and task regions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@226250 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
lib/Sema/SemaOpenMP.cpp
test/OpenMP/parallel_for_lastprivate_messages.cpp
test/OpenMP/parallel_for_reduction_messages.cpp
test/OpenMP/parallel_for_simd_lastprivate_messages.cpp
test/OpenMP/parallel_for_simd_reduction_messages.cpp
test/OpenMP/parallel_private_messages.cpp
test/OpenMP/parallel_reduction_messages.cpp
test/OpenMP/parallel_sections_lastprivate_messages.cpp
test/OpenMP/parallel_sections_reduction_messages.cpp
test/OpenMP/task_private_messages.cpp
test/OpenMP/teams_private_messages.cpp
test/OpenMP/teams_reduction_messages.cpp