This is an archive of the discontinued LLVM Phabricator instance.

[Sema] Updated note for address spaces to print the type.
AcceptedPublic

Authored by Anastasia on Jun 21 2018, 8:55 AM.

Details

Reviewers
yaxunl
Summary

This allows to reuse the same diagnostic for OpenCL or CUDA.

For OpenCL this will be tested in test/SemaOpenCL/address-spaces-conversions-cl2.0.cl that I plan to enable with -cl-std=c++ after fixing other issues.

Diff Detail

Event Timeline

Anastasia created this revision.Jun 21 2018, 8:55 AM
yaxunl accepted this revision.Jun 21 2018, 10:52 AM

LGTM. Thanks.

This revision is now accepted and ready to land.Jun 21 2018, 10:52 AM