[PATCH] D65941: [OpenCL] Fix lang mode predefined macros for C++ mode

2019-08-12 Thread Phabricator via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL368552: [OpenCL] Fix lang mode predefined macros for C++ mode. (authored by stulova, committed by ). Herald added a project: LLVM. Herald added a subscriber: llvm-commits. Changed prior to commit: https

[PATCH] D65941: [OpenCL] Fix lang mode predefined macros for C++ mode

2019-08-08 Thread Sven van Haastregt via Phabricator via cfe-commits
svenvh accepted this revision. svenvh added a comment. This revision is now accepted and ready to land. LGTM! CHANGES SINCE LAST ACTION https://reviews.llvm.org/D65941/new/ https://reviews.llvm.org/D65941 ___ cfe-commits mailing list cfe-commits@

[PATCH] D65941: [OpenCL] Fix lang mode predefined macros for C++ mode

2019-08-08 Thread Anastasia Stulova via Phabricator via cfe-commits
Anastasia created this revision. Anastasia added a reviewer: svenvh. Herald added subscribers: ebevhan, yaxunl. 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 header