[PATCH] D120331: [clang-tidy][run-clang-tidy.py] Add --config-file=<string> option

Jonas Toth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 22 14:51:55 PST 2022


JonasToth added inline comments.


================
Comment at: clang-tools-extra/clang-tidy/tool/run-clang-tidy.py:236
                       'each source file in its parent directories.')
+  parser.add_argument('-config-file', default=None,
+                      help='Specify the path of .clang-tidy or custom config'
----------------
please ensure that those option exclude each other. right now it could be used with both options which is a contradiction for `clang-tidy`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120331



More information about the cfe-commits mailing list