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

Sergei Barannikov via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 6 00:08:26 PST 2026


================
@@ -9401,7 +9318,9 @@ def _SLASH_source_charset : CLCompileJoined<"source-charset:">,
   HelpText<"Set source encoding, supports only UTF-8">,
   Alias<finput_charset_EQ>;
 def _SLASH_execution_charset : CLCompileJoined<"execution-charset:">,
-  HelpText<"Set runtime encoding, supports only UTF-8">,
+  HelpText<"Set the execution <charset> for string and character literals. "
----------------
s-barannikov wrote:

Same as above.
Also, the standard names it "ordinary literal encoding", maybe we should follow it

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


More information about the cfe-commits mailing list