]> granicus.if.org Git - clang/commit
[OPENMP] Fix PR35873: Fix data-sharing attributes for const variables.
authorAlexey Bataev <a.bataev@hotmail.com>
Fri, 16 Feb 2018 19:16:54 +0000 (19:16 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Fri, 16 Feb 2018 19:16:54 +0000 (19:16 +0000)
commit983fc544146ca0814d29f98118b1218617754faf
tree2989c446e594793023e7339f4193ea541d54bcb3
parentf45c4ab9d7eac20e1cafbe9a4989c52758ac7652
[OPENMP] Fix PR35873: Fix data-sharing attributes for const variables.

Compiler erroneously returned wrong data-sharing attributes for the
constant variables if they have explictly specified attributes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@325373 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOpenMP.cpp
test/OpenMP/parallel_for_codegen.cpp