[clang] [clang][CUDA/HIP] Fix parsing of `operator<<<...>` (PR #218384)

Yihan Wang via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 24 06:21:35 PDT 2026


yronglin wrote:

Thanks for your fix!

IIUC, we should fix these issue in the lexer phase? What do you think?

FYI, the SYCLomatic project has a lot of NVCC compatibility issues fixed, https://github.com/oneapi-src/SYCLomatic/blob/24bfedbdb9afbb951be47e3ab95b2abe5fbbe913/clang/lib/Lex/Lexer.cpp#L4276-L4296.

https://github.com/llvm/llvm-project/pull/218384


More information about the cfe-commits mailing list