]> granicus.if.org Git - clang/commit
[OPENMP] Fix handling of clauses in clause parsing mode.
authorAlexey Bataev <a.bataev@hotmail.com>
Wed, 13 Dec 2017 15:28:44 +0000 (15:28 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Wed, 13 Dec 2017 15:28:44 +0000 (15:28 +0000)
commita60bd62877c09215fc2d6bb3b32da89fe0b1cd4e
treee68369404183fd081f736d4259506391a1ec7d05
parente5e2a88ed0de8ac5c96236ff7c9d08e9f166437f
[OPENMP] Fix handling of clauses in clause parsing mode.

The compiler may generate incorrect code if we try to capture the
variable in clause parsing mode.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@320590 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOpenMP.cpp
test/OpenMP/distribute_firstprivate_codegen.cpp
test/OpenMP/distribute_parallel_for_firstprivate_codegen.cpp
test/OpenMP/distribute_parallel_for_simd_firstprivate_codegen.cpp
test/OpenMP/distribute_simd_firstprivate_codegen.cpp
test/OpenMP/for_firstprivate_codegen.cpp
test/OpenMP/sections_firstprivate_codegen.cpp
test/OpenMP/single_firstprivate_codegen.cpp