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

Sergei Barannikov via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 6 21:20:35 PST 2026


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

Can this be done in TargetInfo? It sets up representation of types, could as well configure encodings. Maybe clang folks can advise here.

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


More information about the cfe-commits mailing list