[clang] [clang] do not abort on u8 string in inline asm (PR #177096)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 21 03:36:16 PST 2026
================
@@ -9906,6 +9906,10 @@ let CategoryName = "Inline Assembly Issue" in {
def err_asm_operand_empty_string : Error<
"cannot use an empty string literal in 'asm'">;
+ def err_asm_string_literal_not_ordinary : Error<
+ "cannot use unicode string literal in 'asm'">;
----------------
Sirraide wrote:
The diagnostic in question is `err_asm_operand_wide_string_literal`, but it’s in DiagnosticParseKinds.td, so you’ll have to move that into DiagnosticCommonKinds.td instead
https://github.com/llvm/llvm-project/pull/177096
More information about the cfe-commits
mailing list