]> granicus.if.org Git - clang/commit
[OPENMP] Do not consider address constant vars as possibly
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 25 Jun 2018 15:32:05 +0000 (15:32 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Mon, 25 Jun 2018 15:32:05 +0000 (15:32 +0000)
commitf65e8af1d209d15e3c9b2d1874c77bdb8b4c2140
treebb7a52c5e5cc9ce222184a7974e9e30ec5cb1b2c
parent029be8c2f349782b0075c78687ab09e87f0bdf4a
[OPENMP] Do not consider address constant vars as possibly
threadprivate.

Do not delay emission of the address constant variables in OpenMP mode
as they cannot be defined as threadprivate.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@335483 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
test/OpenMP/constexpr_codegen.cpp [new file with mode: 0644]