[clang] [llvm] Enable fexec-charset option (PR #138895)

Abhina Sree via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 17 09:17:22 PDT 2025


================
@@ -1805,6 +1818,10 @@ CharLiteralParser::CharLiteralParser(const char *begin, const char *end,
     largest_character_for_kind = 0x7Fu;
   }
 
+  llvm::CharSetConverter *Converter = nullptr;
+  if (!isUTFLiteral(Kind) && LiteralConv)
+    Converter = LiteralConv->getConverter(ToExecCharset);
+
----------------
abhina-sree wrote:

Sure, I removed wide character translation for now, thanks!

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


More information about the cfe-commits mailing list