Most GNU binutils don't append full stops in error messages. This
convention has been adopted by a bunch of LLVM binary utilities. Make
llvm-ar follow the convention as well.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
tools/llvm-ar/llvm-ar.cpp | ||
---|---|---|
1139 ↗ | (On Diff #220118) | Should we remove ! too? |
tools/llvm-ar/llvm-ar.cpp | ||
---|---|---|
386 ↗ | (On Diff #220118) | btw, below modifiers are sometimes wrapped into ''. May be worth to make this consistent in messages while you are here too? |
Comment Actions
Wrap operation names in ''
tools/llvm-ar/llvm-ar.cpp | ||
---|---|---|
386 ↗ | (On Diff #220118) | Wrapped in '' for consistency. It seems many error messages here are no tested. This is something we should improve in the future. |
Comment Actions
LGTM with a nits.
tools/llvm-ar/llvm-ar.cpp | ||
---|---|---|
212 ↗ | (On Diff #220125) | nit: needs wrapping too it seems. |
221 ↗ | (On Diff #220125) | The same. |
386 ↗ | (On Diff #220118) | Yeah. I also found one more inconsistency: "cannot mix -M and other options" Seems in other places we use the word "operation", but here the word "option" with a dash. |