OSDN Git Service

[clang-tidy] Improved accuracy of check list updater script
authorNathan James <n.james93@hotmail.co.uk>
Mon, 22 Jun 2020 10:07:21 +0000 (11:07 +0100)
committerNathan James <n.james93@hotmail.co.uk>
Mon, 22 Jun 2020 10:07:24 +0000 (11:07 +0100)
commit23063296b539feb405fb3ce61711a3c1cc1c94d0
treed59b570d1068fab78fe20352cad3339b484cb702
parent0e19ff02d801df894873ddaacae783b6651e9006
[clang-tidy] Improved accuracy of check list updater script

 - Added `FixItHint` comments to Check files 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.

Reviewed By: sylvestre.ledru

Differential Revision: https://reviews.llvm.org/D81932
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