[PATCH] D51009: [opt] Make OptTable::PrintHelp append "[options] <inputs>" conditionally

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 22 10:32:07 PDT 2018


MaskRay added a comment.

>   tools/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp invokes this w/ "clang -cc1". 

Thanks for pointing this out. The other one is `clang -cc1as`. I think the best way is to make the two instances explicit https://reviews.llvm.org/D51109
I have checked other references and think they are fine with the `OptTable::PrintHelp` change.


Repository:
  rL LLVM

https://reviews.llvm.org/D51009





More information about the llvm-commits mailing list