[PATCH] D126495: [clang-tidy] Organize test docs into subdirectories by module (NFC)
Richard via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 26 12:18:15 PDT 2022
LegalizeAdulthood created this revision.
LegalizeAdulthood added reviewers: aaron.ballman, njames93, alexfh.
Herald added subscribers: bzcheeseman, carlosgalvezp, abrachet, lebedev.ri, phosek, arphaman, zzheng, kbarton, xazax.hun, nemanjai.
Herald added a reviewer: lebedev.ri.
Herald added a reviewer: lebedev.ri.
Herald added a project: All.
LegalizeAdulthood requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.
Herald added a project: clang-tools-extra.
- Rename doc files
- Update add_new_check.py to handle doc subdirs
- Improve add_new_check.py to preserve static analyzer doc anchors
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D126495
Files:
clang-tools-extra/clang-tidy/add_new_check.py
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/abseil-cleanup-ctad.rst
clang-tools-extra/docs/clang-tidy/checks/abseil-duration-addition.rst
clang-tools-extra/docs/clang-tidy/checks/abseil-duration-comparison.rst
clang-tools-extra/docs/clang-tidy/checks/abseil-duration-conversion-cast.rst
clang-tools-extra/docs/clang-tidy/checks/abseil-duration-division.rst
clang-tools-extra/docs/clang-tidy/checks/abseil-duration-factory-float.rst
clang-tools-extra/docs/clang-tidy/checks/abseil-duration-factory-scale.rst
clang-tools-extra/docs/clang-tidy/checks/abseil-duration-subtraction.rst
clang-tools-extra/docs/clang-tidy/checks/abseil-duration-unnecessary-conversion.rst
clang-tools-extra/docs/clang-tidy/checks/abseil-faster-strsplit-delimiter.rst
clang-tools-extra/docs/clang-tidy/checks/abseil-no-internal-dependencies.rst
clang-tools-extra/docs/clang-tidy/checks/abseil-no-namespace.rst
clang-tools-extra/docs/clang-tidy/checks/abseil-redundant-strcat-calls.rst
clang-tools-extra/docs/clang-tidy/checks/abseil-str-cat-append.rst
clang-tools-extra/docs/clang-tidy/checks/abseil-string-find-startswith.rst
clang-tools-extra/docs/clang-tidy/checks/abseil-string-find-str-contains.rst
clang-tools-extra/docs/clang-tidy/checks/abseil-time-comparison.rst
clang-tools-extra/docs/clang-tidy/checks/abseil-time-subtraction.rst
clang-tools-extra/docs/clang-tidy/checks/abseil-upgrade-duration-conversions.rst
clang-tools-extra/docs/clang-tidy/checks/abseil/cleanup-ctad.rst
clang-tools-extra/docs/clang-tidy/checks/abseil/duration-addition.rst
clang-tools-extra/docs/clang-tidy/checks/abseil/duration-comparison.rst
clang-tools-extra/docs/clang-tidy/checks/abseil/duration-conversion-cast.rst
clang-tools-extra/docs/clang-tidy/checks/abseil/duration-division.rst
clang-tools-extra/docs/clang-tidy/checks/abseil/duration-factory-float.rst
clang-tools-extra/docs/clang-tidy/checks/abseil/duration-factory-scale.rst
clang-tools-extra/docs/clang-tidy/checks/abseil/duration-subtraction.rst
clang-tools-extra/docs/clang-tidy/checks/abseil/duration-unnecessary-conversion.rst
clang-tools-extra/docs/clang-tidy/checks/abseil/faster-strsplit-delimiter.rst
clang-tools-extra/docs/clang-tidy/checks/abseil/no-internal-dependencies.rst
clang-tools-extra/docs/clang-tidy/checks/abseil/no-namespace.rst
clang-tools-extra/docs/clang-tidy/checks/abseil/redundant-strcat-calls.rst
clang-tools-extra/docs/clang-tidy/checks/abseil/str-cat-append.rst
clang-tools-extra/docs/clang-tidy/checks/abseil/string-find-startswith.rst
clang-tools-extra/docs/clang-tidy/checks/abseil/string-find-str-contains.rst
clang-tools-extra/docs/clang-tidy/checks/abseil/time-comparison.rst
clang-tools-extra/docs/clang-tidy/checks/abseil/time-subtraction.rst
clang-tools-extra/docs/clang-tidy/checks/abseil/upgrade-duration-conversions.rst
clang-tools-extra/docs/clang-tidy/checks/altera-id-dependent-backward-branch.rst
clang-tools-extra/docs/clang-tidy/checks/altera-kernel-name-restriction.rst
clang-tools-extra/docs/clang-tidy/checks/altera-single-work-item-barrier.rst
clang-tools-extra/docs/clang-tidy/checks/altera-struct-pack-align.rst
clang-tools-extra/docs/clang-tidy/checks/altera-unroll-loops.rst
clang-tools-extra/docs/clang-tidy/checks/altera/id-dependent-backward-branch.rst
clang-tools-extra/docs/clang-tidy/checks/altera/kernel-name-restriction.rst
clang-tools-extra/docs/clang-tidy/checks/altera/single-work-item-barrier.rst
clang-tools-extra/docs/clang-tidy/checks/altera/struct-pack-align.rst
clang-tools-extra/docs/clang-tidy/checks/altera/unroll-loops.rst
clang-tools-extra/docs/clang-tidy/checks/android-cloexec-accept.rst
clang-tools-extra/docs/clang-tidy/checks/android-cloexec-accept4.rst
clang-tools-extra/docs/clang-tidy/checks/android-cloexec-creat.rst
clang-tools-extra/docs/clang-tidy/checks/android-cloexec-dup.rst
clang-tools-extra/docs/clang-tidy/checks/android-cloexec-epoll-create.rst
clang-tools-extra/docs/clang-tidy/checks/android-cloexec-epoll-create1.rst
clang-tools-extra/docs/clang-tidy/checks/android-cloexec-fopen.rst
clang-tools-extra/docs/clang-tidy/checks/android-cloexec-inotify-init.rst
clang-tools-extra/docs/clang-tidy/checks/android-cloexec-inotify-init1.rst
clang-tools-extra/docs/clang-tidy/checks/android-cloexec-memfd-create.rst
clang-tools-extra/docs/clang-tidy/checks/android-cloexec-open.rst
clang-tools-extra/docs/clang-tidy/checks/android-cloexec-pipe.rst
clang-tools-extra/docs/clang-tidy/checks/android-cloexec-pipe2.rst
clang-tools-extra/docs/clang-tidy/checks/android-cloexec-socket.rst
clang-tools-extra/docs/clang-tidy/checks/android-comparison-in-temp-failure-retry.rst
clang-tools-extra/docs/clang-tidy/checks/android/cloexec-accept.rst
clang-tools-extra/docs/clang-tidy/checks/android/cloexec-accept4.rst
clang-tools-extra/docs/clang-tidy/checks/android/cloexec-creat.rst
clang-tools-extra/docs/clang-tidy/checks/android/cloexec-dup.rst
clang-tools-extra/docs/clang-tidy/checks/android/cloexec-epoll-create.rst
clang-tools-extra/docs/clang-tidy/checks/android/cloexec-epoll-create1.rst
clang-tools-extra/docs/clang-tidy/checks/android/cloexec-fopen.rst
clang-tools-extra/docs/clang-tidy/checks/android/cloexec-inotify-init.rst
clang-tools-extra/docs/clang-tidy/checks/android/cloexec-inotify-init1.rst
clang-tools-extra/docs/clang-tidy/checks/android/cloexec-memfd-create.rst
clang-tools-extra/docs/clang-tidy/checks/android/cloexec-open.rst
clang-tools-extra/docs/clang-tidy/checks/android/cloexec-pipe.rst
clang-tools-extra/docs/clang-tidy/checks/android/cloexec-pipe2.rst
clang-tools-extra/docs/clang-tidy/checks/android/cloexec-socket.rst
clang-tools-extra/docs/clang-tidy/checks/android/comparison-in-temp-failure-retry.rst
clang-tools-extra/docs/clang-tidy/checks/boost-use-to-string.rst
clang-tools-extra/docs/clang-tidy/checks/boost/use-to-string.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-argument-comment.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-assert-side-effect.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-bad-signal-to-kill-thread.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-bool-pointer-implicit-conversion.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-branch-clone.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-copy-constructor-init.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-dangling-handle.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-dynamic-static-initializers.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-easily-swappable-parameters.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-exception-escape.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-fold-init-type.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-forward-declaration-namespace.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-forwarding-reference-overload.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-implicit-widening-of-multiplication-result.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-inaccurate-erase.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-incorrect-roundings.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-infinite-loop.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-integer-division.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-lambda-function-name.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-macro-parentheses.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-macro-repeated-side-effects.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-misplaced-operator-in-strlen-in-alloc.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-misplaced-pointer-arithmetic-in-alloc.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-misplaced-widening-cast.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-move-forwarding-reference.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-multiple-statement-macro.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-narrowing-conversions.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-no-escape.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-not-null-terminated-result.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-parent-virtual-call.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-posix-return.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-redundant-branch-condition.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-reserved-identifier.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-shared-ptr-array-mismatch.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-signal-handler.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-signed-char-misuse.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-sizeof-container.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-sizeof-expression.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-spuriously-wake-up-functions.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-string-constructor.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-string-integer-assignment.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-string-literal-with-embedded-nul.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-stringview-nullptr.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-suspicious-enum-usage.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-suspicious-include.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-suspicious-memory-comparison.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-suspicious-memset-usage.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-suspicious-missing-comma.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-suspicious-semicolon.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-suspicious-string-compare.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-swapped-arguments.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-terminating-continue.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-throw-keyword-missing.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-too-small-loop-variable.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-unchecked-optional-access.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-undefined-memory-manipulation.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-undelegated-constructor.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-unhandled-exception-at-new.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-unhandled-self-assignment.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-unused-raii.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-unused-return-value.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-use-after-move.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-virtual-near-miss.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/argument-comment.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/assert-side-effect.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/bad-signal-to-kill-thread.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/bool-pointer-implicit-conversion.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/branch-clone.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/copy-constructor-init.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/dangling-handle.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/dynamic-static-initializers.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/easily-swappable-parameters.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/exception-escape.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/fold-init-type.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/forward-declaration-namespace.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/forwarding-reference-overload.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/implicit-widening-of-multiplication-result.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/inaccurate-erase.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/incorrect-roundings.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/infinite-loop.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/integer-division.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/lambda-function-name.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/macro-parentheses.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/macro-repeated-side-effects.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/misplaced-operator-in-strlen-in-alloc.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/misplaced-pointer-arithmetic-in-alloc.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/misplaced-widening-cast.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/move-forwarding-reference.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/multiple-statement-macro.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/narrowing-conversions.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/no-escape.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/not-null-terminated-result.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/parent-virtual-call.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/posix-return.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/redundant-branch-condition.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/reserved-identifier.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/shared-ptr-array-mismatch.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/signal-handler.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/signed-char-misuse.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/sizeof-container.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/sizeof-expression.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/spuriously-wake-up-functions.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/string-constructor.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/string-integer-assignment.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/string-literal-with-embedded-nul.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/stringview-nullptr.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/suspicious-enum-usage.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/suspicious-include.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/suspicious-memory-comparison.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/suspicious-memset-usage.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/suspicious-missing-comma.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/suspicious-semicolon.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/suspicious-string-compare.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/swapped-arguments.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/terminating-continue.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/throw-keyword-missing.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/too-small-loop-variable.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/unchecked-optional-access.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/undefined-memory-manipulation.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/undelegated-constructor.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/unhandled-exception-at-new.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/unhandled-self-assignment.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/unused-raii.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/unused-return-value.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/use-after-move.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/virtual-near-miss.rst
clang-tools-extra/docs/clang-tidy/checks/cert-con36-c.rst
clang-tools-extra/docs/clang-tidy/checks/cert-con54-cpp.rst
clang-tools-extra/docs/clang-tidy/checks/cert-dcl03-c.rst
clang-tools-extra/docs/clang-tidy/checks/cert-dcl16-c.rst
clang-tools-extra/docs/clang-tidy/checks/cert-dcl21-cpp.rst
clang-tools-extra/docs/clang-tidy/checks/cert-dcl37-c.rst
clang-tools-extra/docs/clang-tidy/checks/cert-dcl50-cpp.rst
clang-tools-extra/docs/clang-tidy/checks/cert-dcl51-cpp.rst
clang-tools-extra/docs/clang-tidy/checks/cert-dcl54-cpp.rst
clang-tools-extra/docs/clang-tidy/checks/cert-dcl58-cpp.rst
clang-tools-extra/docs/clang-tidy/checks/cert-dcl59-cpp.rst
clang-tools-extra/docs/clang-tidy/checks/cert-env33-c.rst
clang-tools-extra/docs/clang-tidy/checks/cert-err09-cpp.rst
clang-tools-extra/docs/clang-tidy/checks/cert-err33-c.rst
clang-tools-extra/docs/clang-tidy/checks/cert-err34-c.rst
clang-tools-extra/docs/clang-tidy/checks/cert-err52-cpp.rst
clang-tools-extra/docs/clang-tidy/checks/cert-err58-cpp.rst
clang-tools-extra/docs/clang-tidy/checks/cert-err60-cpp.rst
clang-tools-extra/docs/clang-tidy/checks/cert-err61-cpp.rst
clang-tools-extra/docs/clang-tidy/checks/cert-exp42-c.rst
clang-tools-extra/docs/clang-tidy/checks/cert-fio38-c.rst
clang-tools-extra/docs/clang-tidy/checks/cert-flp30-c.rst
clang-tools-extra/docs/clang-tidy/checks/cert-flp37-c.rst
clang-tools-extra/docs/clang-tidy/checks/cert-mem57-cpp.rst
clang-tools-extra/docs/clang-tidy/checks/cert-msc30-c.rst
clang-tools-extra/docs/clang-tidy/checks/cert-msc32-c.rst
clang-tools-extra/docs/clang-tidy/checks/cert-msc50-cpp.rst
clang-tools-extra/docs/clang-tidy/checks/cert-msc51-cpp.rst
clang-tools-extra/docs/clang-tidy/checks/cert-oop11-cpp.rst
clang-tools-extra/docs/clang-tidy/checks/cert-oop54-cpp.rst
clang-tools-extra/docs/clang-tidy/checks/cert-oop57-cpp.rst
clang-tools-extra/docs/clang-tidy/checks/cert-oop58-cpp.rst
clang-tools-extra/docs/clang-tidy/checks/cert-pos44-c.rst
clang-tools-extra/docs/clang-tidy/checks/cert-pos47-c.rst
clang-tools-extra/docs/clang-tidy/checks/cert-sig30-c.rst
clang-tools-extra/docs/clang-tidy/checks/cert-str34-c.rst
clang-tools-extra/docs/clang-tidy/checks/cert/con36-c.rst
clang-tools-extra/docs/clang-tidy/checks/cert/con54-cpp.rst
clang-tools-extra/docs/clang-tidy/checks/cert/dcl03-c.rst
clang-tools-extra/docs/clang-tidy/checks/cert/dcl16-c.rst
clang-tools-extra/docs/clang-tidy/checks/cert/dcl21-cpp.rst
clang-tools-extra/docs/clang-tidy/checks/cert/dcl37-c.rst
(649 more files...)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126495.432354.patch
Type: text/x-patch
Size: 167164 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220526/122e59bf/attachment-0001.bin>
More information about the cfe-commits
mailing list