Skip to content

Commit dff47e9

Browse files
committed
[SYCL] Fix sycl_generic printing
Signed-off-by: Victor Lomuller <[email protected]>
1 parent 3baec18 commit dff47e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/AST/TypePrinter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1817,6 +1817,7 @@ std::string Qualifiers::getAddrSpaceAsString(LangAS AS) {
18171817
case LangAS::sycl_constant:
18181818
return "__constant";
18191819
case LangAS::opencl_generic:
1820+
case LangAS::sycl_generic:
18201821
return "__generic";
18211822
case LangAS::cuda_device:
18221823
return "__device__";

0 commit comments

Comments
 (0)