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 8235 Build 8235: arc lint + arc unit
Event Timeline
llvm/tools/llvm-mt/Opts.td | ||
---|---|---|
4 | By convention, option names are written in lowercase. So unsupported instead of UNSUPPORTED. Apply all other options in this file. | |
7 | Help text shouldn't end with a full stop. | |
llvm/tools/llvm-mt/llvm-mt.cpp | ||
49 | This open parenthesis is not at the same indentation depth as the closing one. | |
67 | It is convenient to write out "\n" here, instead of embedding "\n" as part of Msg. | |
72 | Please follow the LLVM naming convention. | |
92 | ; -> : | |
118 | 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 | ||
---|---|---|
72 | 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 | ||
---|---|---|
72 | 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.