[all-commits] [llvm/llvm-project] 210b73: [clang-tidy] Fix minor bug in add_new_check.py

Chris Cotter via All-commits all-commits at lists.llvm.org
Thu Jan 5 07:29:20 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 210b731c01b020693aa8f53231c659ff5f60149e
      https://github.com/llvm/llvm-project/commit/210b731c01b020693aa8f53231c659ff5f60149e
  Author: Chris Cotter <ccotter14 at bloomberg.net>
  Date:   2023-01-05 (Thu, 05 Jan 2023)

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

  Log Message:
  -----------
  [clang-tidy] Fix minor bug in add_new_check.py

While rebuilding the list of checks in add_new_check.py,
check is a file is a subdirectory before traversing it.

Test plan: Ran `./add_new_check.py --update-docs` and confirmed the list.rst file was unchanged.

Reviewed By: carlosgalvezp

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




More information about the All-commits mailing list