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
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 38108 Build 38107: arc lint + arc unit
Event Timeline
| tools/llvm-ar/llvm-ar.cpp | ||
|---|---|---|
| 1139 | Should we remove ! too? | |
| tools/llvm-ar/llvm-ar.cpp | ||
|---|---|---|
| 386 | btw, below modifiers are sometimes wrapped into ''. May be worth to make this consistent in messages while you are here too? | |
Wrap operation names in ''
| tools/llvm-ar/llvm-ar.cpp | ||
|---|---|---|
| 386 | Wrapped in '' for consistency. It seems many error messages here are no tested. This is something we should improve in the future. | |
LGTM with a nits.
| tools/llvm-ar/llvm-ar.cpp | ||
|---|---|---|
| 212 | nit: needs wrapping too it seems. | |
| 221 | The same. | |
| 386 | 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. | |
nit: needs wrapping too it seems.