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

Abhina Sree via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 6 10:32:26 PST 2026


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

I think we chose this location since the Preprocessor is already being passed to StringLiteralParser and CharLiteralParser. Where would be a better location?

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


More information about the llvm-commits mailing list