[PATCH] D44452: [llvm-ar] Support multiple dashed options
Tom Anderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 4 15:31:33 PDT 2018
thomasanderson added inline comments.
================
Comment at: llvm/trunk/tools/llvm-ar/llvm-ar.cpp:55
+
+const char RanlibHelp[] = R"(
+OVERVIEW: LLVM Ranlib (llvm-ranlib)
----------------
thakis wrote:
> This includes a newline at the start of the string, which makes the -help output look a bit weird.
D'oh!
IMO the cleanest way to do this is to replace
const char RanlibHelp[] = R"(
with
const char *RanlibHelp = 1 + R"(
It would be a bit superfluous for me to upload a new CL to fix this considering someone with write permissions in the repo would have to land it for me.
Repository:
rL LLVM
https://reviews.llvm.org/D44452
More information about the llvm-commits
mailing list