[all-commits] [llvm/llvm-project] 03ded5: Fix -allow-enabling-analyzer-alpha-checkers always...

Aaron Ballman via All-commits all-commits at lists.llvm.org
Thu Aug 20 06:16:39 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 03ded5497a2f458b6af054fa7bac0da0240e7b7a
      https://github.com/llvm/llvm-project/commit/03ded5497a2f458b6af054fa7bac0da0240e7b7a
  Author: Joachim Priesner <llvm-project-704996 at jspam.de>
  Date:   2020-08-20 (Thu, 20 Aug 2020)

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

  Log Message:
  -----------
  Fix -allow-enabling-analyzer-alpha-checkers always being passed to run-clang-tidy.py

The action='store_true' option of argparse.add_argument implicitly
generates a default value of False if the argument is not specified.
Thus, the allow_enabling_alpha_checkers argument of
get_tidy_invocation is never None.




More information about the All-commits mailing list