[llvm] [MC,ELF] Emit warning if a string constant contains newline char. (PR #98060)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 9 18:28:44 PDT 2024


================
@@ -3125,6 +3130,7 @@ bool AsmParser::parseDirectiveAscii(StringRef IDVal, bool ZeroTerminated) {
     do {
       if (parseEscapedString(Data))
         return true;
+
----------------
MaskRay wrote:

revert unneeded change

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


More information about the llvm-commits mailing list