[OPENMP] Fixed capturing of VLA variables.
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 7 Nov 2016 11:16:04 +0000 (11:16 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Mon, 7 Nov 2016 11:16:04 +0000 (11:16 +0000)
commitac5eabb0b9b9fd998d631c4cd1d944f12d9b3a68
treef1b63670804bb4adb36b42be07d3b811fdf1ba0f
parent1e2b7e667216ec4efceceeb77b681197b17a233d
[OPENMP] Fixed capturing of VLA variables.

After some changes in codegen capturing of VLA variables in OpenMP regions was broken, causing compiler crash. Patch fixes this issue.

llvm-svn: 286103
clang/lib/CodeGen/CGExpr.cpp
clang/lib/CodeGen/CGStmtOpenMP.cpp
clang/test/OpenMP/parallel_codegen.cpp