summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
diff options
context:
space:
mode:
authorAnastasia Stulova <anastasia.stulova@arm.com>2019-08-12 10:44:07 +0000
committerAnastasia Stulova <anastasia.stulova@arm.com>2019-08-12 10:44:07 +0000
commitef58804ebc196fe54731e31d7db817471038084c (patch)
treec8944dc7ce62a53969b9938b8d40949571d46668 /llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
parent2e16060a8bbbd82f4637ddb5e58533a614ef529e (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud