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

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Fri May 22 08:28:14 PDT 2026


================
@@ -544,6 +545,11 @@ void CompilerInstance::createPreprocessor(TranslationUnitKind TUKind) {
 
   if (GetDependencyDirectives)
     PP->setDependencyDirectivesGetter(*GetDependencyDirectives);
+
+  if (auto EC = TextEncodingConfig::setConvertersFromOptions(
----------------
cor3ntin wrote:

I certainly would prefer it stays in the preprocessor rather than moving to target info - I can see that getting messy.

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


More information about the cfe-commits mailing list