[llvm] [llvm-strings] Add --encoding={s,S,u} option (PR #221794)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 9 01:14:40 PDT 2026
================
@@ -89,40 +96,114 @@ static void parseIntArg(const opt::InputArgList &Args, int ID, T &Value) {
}
static void strings(raw_ostream &OS, StringRef FileName, StringRef Contents) {
- auto print = [&OS, FileName](unsigned Offset, StringRef L) {
- if (L.size() < static_cast<size_t>(MinLength))
+ std::locale loc("");
----------------
jh7370 wrote:
Please make sure to follow LLVM coding standards with regards to naming.
https://github.com/llvm/llvm-project/pull/221794
More information about the llvm-commits
mailing list