hubert-reinterpretcast wrote:

> To make it support mutlibyte characters, we would need to know how to advance 
> the format string iterator (read: determine multibyte character "length") 
> when advancing through the format string. That's a big change...

Yes, indeed. But if we're willing to compromise on what we will support "right 
away", then the general idea of assuming a specific, fixed target encoding (as 
GCC has been doing in ignoring `-fexec-charset` for format string checking) is 
what this patch does already.

https://github.com/llvm/llvm-project/pull/196568
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to