[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


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

Same concern, the initialization doesn't look related to the preprocessor, and should probably be done somewhere else

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


More information about the cfe-commits mailing list