[PATCH] D49864: [clang-tidy] The script clang-tidy-diff.py doesn't accept 'pass by' options (--)

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 17 08:29:27 PST 2022


alexfh accepted this revision.
alexfh added a comment.
This revision is now accepted and ready to land.

Looks good with one suggestion.



================
Comment at: clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py:123
+                                   'lines.'
+                                   '\nclang-tidy arguments should be passed after a \'--\' .')
   parser.add_argument('-clang-tidy-binary', metavar='PATH',
----------------
I'd say "can" instead of "should" (all defaults may be just fine depending on the setup) and maybe also add an example.


Repository:
  rCTE Clang Tools Extra

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D49864/new/

https://reviews.llvm.org/D49864



More information about the cfe-commits mailing list