[all-commits] [llvm/llvm-project] 04b42c: Fix typo in new -config-file option

Aaron Ballman via All-commits all-commits at lists.llvm.org
Tue Apr 5 13:29:06 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04b42c99f62216263662d1033fa9b3e12c65563e
      https://github.com/llvm/llvm-project/commit/04b42c99f62216263662d1033fa9b3e12c65563e
  Author: Aaron Siddhartha Mondal <aaron at eomii.org>
  Date:   2022-04-05 (Tue, 05 Apr 2022)

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

  Log Message:
  -----------
  Fix typo in new -config-file option

The new -config-file option introduced by 9e1f4f1 was accidentally
referenced as args.config_path on the python side. This patch renames
args.config_path to args.config_file.

To avoid confusion with python file objects, the input argument for
get_tidy_invocation has been renamed from config_path to
config_file_path.

See GitHub issue #54728 for a discussion.




More information about the All-commits mailing list