================
@@ -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:

Fwiw, for `asm(u"")` we *do* say ‘unicode string literal’ (or ‘wide string 
literal’ for `asm(L"")`), which imo is better because I don’t expect most 
people to know what a ‘non-ordinary string literal’ is supposed to be—can we 
just reuse the diagnostic that’s used for that?

https://github.com/llvm/llvm-project/pull/177096
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to