[PATCH] D81932: [clang-tidy] Improved accuracy of check list updater script

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 16 06:04:07 PDT 2020


njames93 created this revision.
njames93 added reviewers: aaron.ballman, gribozavr2, Eugene.Zelenko.
Herald added subscribers: cfe-commits, xazax.hun.
Herald added a project: clang.

- Added a file `FixItHint` comments to Check files to for the script to mark those checks as offering fix-its when the fix-its are generated in another file.
- Case insensitive file searching when looking for the file a checker code resides in.

Also regenerated the list, sphinx had no issue generating the docs after this.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81932

Files:
  clang-tools-extra/clang-tidy/abseil/StringFindStrContainsCheck.cpp
  clang-tools-extra/clang-tidy/add_new_check.py
  clang-tools-extra/clang-tidy/llvmlibc/RestrictSystemLibcHeadersCheck.cpp
  clang-tools-extra/clang-tidy/modernize/MakeSharedCheck.cpp
  clang-tools-extra/docs/clang-tidy/checks/list.rst

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81932.271065.patch
Type: text/x-patch
Size: 8279 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200616/82e9431b/attachment-0001.bin>


More information about the cfe-commits mailing list