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.
Paths
| Differential D48438
[Sema] Updated note for address spaces to print the type. AcceptedPublic Authored by Anastasia on Jun 21 2018, 8:55 AM.
Details
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
Revision Contents
Diff 152315 include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaOverload.cpp
test/SemaCXX/address-space-references.cpp
|