aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2019-05-23 22:30:43 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2019-05-23 22:30:43 +0000
commite0ef04f8cb295a95c49e8436f59d5a4b58e92d15 (patch)
tree0291689cf3c4d973b70ce7ff9f48c95845fb79d1 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parent5554a5fcbdd7a889e133a80c064e4e553fa4fae4 (diff)
downloadllvm-e0ef04f8cb295a95c49e8436f59d5a4b58e92d15.zip
llvm-e0ef04f8cb295a95c49e8436f59d5a4b58e92d15.tar.gz
llvm-e0ef04f8cb295a95c49e8436f59d5a4b58e92d15.tar.bz2
[OPENMP]Do not crash for const firstprivates.
If the variable is a firstprivate variable and it was not emitted beause this a constant variable with the constant initializer, we can use the initial value instead of the variable itself. It also fixes the problem with the compiler crash in this case. llvm-svn: 361564
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions