[PATCH] D35333: Create empty shell of llvm-mt.

Eric Beckmann via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 17 14:08:51 PDT 2017


ecbeckmann added inline comments.


================
Comment at: llvm/tools/llvm-mt/llvm-mt.cpp:71
+
+int main(int argc_, const char *argv_[]) {
+  sys::PrintStackTraceOnErrorSignal(argv_[0]);
----------------
ruiu wrote:
> ruiu wrote:
> > ecbeckmann wrote:
> > > ruiu wrote:
> > > > ruiu wrote:
> > > > > Please follow the LLVM naming convention.
> > > > `argc` and `argv` still don't follow the LLVM naming convention.
> > > on most recent revision this should be fine
> > Is it? `argc` and `argv` should be `Argc` and `Argv`.
> Please fix.
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.


https://reviews.llvm.org/D35333





More information about the llvm-commits mailing list