[PATCH] D118104: Make run-clang-tidy.py print the configured checks correctly

Carlos Galvez via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 25 08:11:23 PST 2022


carlosgalvezp added inline comments.


================
Comment at: clang-tools-extra/clang-tidy/tool/run-clang-tidy.py:257-265
     invocation = [args.clang_tidy_binary, '-list-checks']
     if args.allow_enabling_alpha_checkers:
       invocation.append('-allow-enabling-analyzer-alpha-checkers')
     invocation.append('-p=' + build_path)
     if args.checks:
       invocation.append('-checks=' + args.checks)
+    if args.config:
----------------
Would it make sense to re-use `get_tidy_invocation` with the proper arguments here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118104



More information about the cfe-commits mailing list