[llvm-branch-commits] [clang] [clang-tools-extra] [llvm] Add format string handling (PR #196568)

Sergei Barannikov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Nov 14 22:49:52 PST 2026


================
@@ -17,11 +17,29 @@
 #include "clang/AST/ASTContext.h"
 #include "clang/AST/FormatString.h"
 #include "clang/AST/Type.h"
+#include "clang/Basic/TargetInfo.h"
+#include "llvm/Support/TextEncoding.h"
 
 namespace clang {
 
 class LangOptions;
 
+/// Creates a TextEncodingConverter for format string character comparisons.
+/// On z/OS format strings are IBM-1047 encoded, so each byte must be converted
----------------
s-barannikov wrote:

Ah, I was reading it wrong, thanks for the clarification!

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


More information about the llvm-branch-commits mailing list