This is an archive of the discontinued LLVM Phabricator instance.

[OpenCL] Factor out language version printing
ClosedPublic

Authored by svenvh on May 3 2018, 3:10 AM.

Details

Summary

Generate a printable OpenCL language version number in a single place
and select between the OpenCL C or OpenCL C++ version accordingly.

Diff Detail

Repository
rL LLVM

Event Timeline

svenvh created this revision.May 3 2018, 3:10 AM
rivanvx accepted this revision.May 6 2018, 12:49 PM

Nice cleanup.

This revision is now accepted and ready to land.May 6 2018, 12:49 PM
This revision was automatically updated to reflect the committed changes.