This is an archive of the discontinued LLVM Phabricator instance.

[OpenCL] Support -fdeclare-opencl-builtins in C++ mode
ClosedPublic

Authored by svenvh on Oct 20 2019, 8:16 PM.

Details

Summary

Support for C++ mode was accidentally lacking due to not checking the
OpenCLCPlusPlus LangOpts version.

Diff Detail

Event Timeline

svenvh created this revision.Oct 20 2019, 8:16 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 20 2019, 8:16 PM
Anastasia accepted this revision.Nov 1 2019, 4:08 AM

LGTM! Thanks!

This revision is now accepted and ready to land.Nov 1 2019, 4:08 AM
This revision was automatically updated to reflect the committed changes.