This is the first patch towards creating the llvm-mt tool for merging
Windows manifests. This is a reimplementation of mt.exe.
Details
Diff Detail
- Build Status
Buildable 8177 Build 8177: arc lint + arc unit
Event Timeline
llvm/tools/llvm-mt/Opts.td | ||
---|---|---|
3 | By convention, option names are written in lowercase. So unsupported instead of UNSUPPORTED. Apply all other options in this file. | |
6 | Help text shouldn't end with a full stop. | |
llvm/tools/llvm-mt/llvm-mt.cpp | ||
48 | This open parenthesis is not at the same indentation depth as the closing one. | |
66 | It is convenient to write out "\n" here, instead of embedding "\n" as part of Msg. | |
71 | Please follow the LLVM naming convention. | |
91 | ; -> : | |
117 | Remove this blank line. |
It's different. Perhaps it looks the same because you are looking at the option IDs which I left capitalized, which is actually the convention. However the actual option text that is matched and displayed in the helptext was moved to lower case. All the other changes you mentioned were also performed.
Is all uppercase really a convention? I took a quick look at a few .td files in clang, and looks like they write option ids in lowercase.
remove error full stops
llvm/tools/llvm-mt/llvm-mt.cpp | ||
---|---|---|
71 | Hmmm I'm not sure if Argc and Argv are the convention in this case. In all the other "mains" in llvm/tools there is variation between using argc, argc_ and *argv[], argv, *argv_[]. The most common combination is argc and argv. |
LGTM
llvm/tools/llvm-mt/llvm-mt.cpp | ||
---|---|---|
71 | If that is a convention, that is fine, but I hope you mentioned that instead of just marking this as done. |
By convention, option names are written in lowercase. So unsupported instead of UNSUPPORTED. Apply all other options in this file.