[all-commits] [llvm/llvm-project] 9e1f4f: [clang-tidy][run-clang-tidy.py] Add --config-file=...

Shreyas Atre via All-commits all-commits at lists.llvm.org
Thu Mar 17 04:30:47 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e1f4f13984186984ba37513372c1b7e0c4ba4fd
      https://github.com/llvm/llvm-project/commit/9e1f4f13984186984ba37513372c1b7e0c4ba4fd
  Author: Shreyas Atre <shreyasatre16 at gmail.com>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/tool/run-clang-tidy.py

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

Link to the GitHub Issue: https://github.com/llvm/llvm-project/issues/53745

Added config_path variable within the python script which makes the
required call to the clang-tidy binary with --config-file option.
If the config_path is None then config will be used. No error is raised
if both are given but silently chooses config_path over config




More information about the All-commits mailing list