richardmembarth added a comment. There are external tools (e.g. hipacc <https://hipacc-lang.org>) that generate Clang AST. This AST uses `LangAS` annotations and emits incorrect memory space specifiers for CUDA when pretty-printed.
Repository: rC Clang https://reviews.llvm.org/D54258 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits