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

ANdi via All-commits all-commits at lists.llvm.org
Tue Sep 15 09:27:32 PDT 2020


  Branch: refs/heads/release/11.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 1596c2dfd548b21cf33ad3353882ac465d78c1bb
      https://github.com/llvm/llvm-project/commit/1596c2dfd548b21cf33ad3353882ac465d78c1bb
  Author: Joachim Priesner <llvm-project-704996 at jspam.de>
  Date:   2020-09-15 (Tue, 15 Sep 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