[clang] Fix handling of asm string literals (PR #169803)

Abhina Sree via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 14 08:53:38 PDT 2026


================

----------------
abhina-sree wrote:

It looks like we don't take this code path for asm labels so it's not allowed.

In gcc, the [documentation here](https://gcc.gnu.org/onlinedocs/gcc/Asm-constexprs.html) says "Any string is converted to the character set of the source code."

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


More information about the cfe-commits mailing list