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

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 10 17:14:22 PST 2026


================
@@ -1817,6 +1843,10 @@ CharLiteralParser::CharLiteralParser(const char *begin, const char *end,
     largest_character_for_kind = 0x7Fu;
   }
 
+  llvm::TextEncodingConverter *Converter = nullptr;
+  if (!isUTFLiteral(Kind) && !isWideLiteral(Kind))
----------------
s-barannikov wrote:

```suggestion
  if (isOrdinary())
```

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


More information about the llvm-commits mailing list