[PATCH] D124445: [llvm-ar] Modify usage printouts to use the correct toolname

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 26 12:03:52 PDT 2022


MaskRay added a comment.

Looks good to me.



================
Comment at: llvm/tools/llvm-ar/llvm-ar.cpp:66
+static void printRanLibHelp(StringRef ToolName) {
+  outs() << "OVERVIEW: LLVM Ranlib (" + ToolName + ")\n\n"
+         << "This program generates an index to speed access to archives\n\n"
----------------
`printArHelp` omits ToolName on the OVERVIEW line. Omit it here?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124445/new/

https://reviews.llvm.org/D124445



More information about the llvm-commits mailing list