diff options
author | Anastasia Stulova <anastasia.stulova@arm.com> | 2019-08-12 10:44:07 +0000 |
---|---|---|
committer | Anastasia Stulova <anastasia.stulova@arm.com> | 2019-08-12 10:44:07 +0000 |
commit | ef58804ebc196fe54731e31d7db817471038084c (patch) | |
tree | c8944dc7ce62a53969b9938b8d40949571d46668 /llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | |
parent | 2e16060a8bbbd82f4637ddb5e58533a614ef529e (diff) | |
download | bcm5719-llvm-ef58804ebc196fe54731e31d7db817471038084c.tar.gz bcm5719-llvm-ef58804ebc196fe54731e31d7db817471038084c.zip |
[OpenCL] Fix lang mode predefined macros for C++ mode.
In C++ mode we should only avoid adding __OPENCL_C_VERSION__,
all other predefined macros about the language mode are still
valid.
This change also fixes the language version check in the
headers accordingly.
Differential Revision: https://reviews.llvm.org/D65941
llvm-svn: 368552
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp')
0 files changed, 0 insertions, 0 deletions