[all-commits] [llvm/llvm-project] 3b919a: [clang-tidy] Fix example provided by add_new_check.py

Piotr Zegar via All-commits all-commits at lists.llvm.org
Thu Mar 30 11:15:48 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b919a5e01ef35caa24fe3a4ccc3dd459e56449b
      https://github.com/llvm/llvm-project/commit/3b919a5e01ef35caa24fe3a4ccc3dd459e56449b
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2023-03-30 (Thu, 30 Mar 2023)

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

  Log Message:
  -----------
  [clang-tidy] Fix example provided by add_new_check.py

Currently test for newly added check in clang-tidy fails,
this is because Fix is attached to note, but test is executed
without --fix-notes. This change adding --fix-notes to test.

Fixes: https://github.com/llvm/llvm-project/issues/50400

Reviewed By: carlosgalvezp

Differential Revision: https://reviews.llvm.org/D146875




More information about the All-commits mailing list