PiotrZSL created this revision. PiotrZSL added reviewers: njames93, carlosgalvezp. Herald added a subscriber: xazax.hun. Herald added a project: All. PiotrZSL requested review of this revision. Herald added a project: clang-tools-extra. Herald added a subscriber: cfe-commits.
Add info in check list that hicpp-avoid-goto is actually a alias to cppcoreguidelines-avoid-goto. Fixes: #64337 Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D157182 Files: clang-tools-extra/docs/clang-tidy/checks/hicpp/avoid-goto.rst clang-tools-extra/docs/clang-tidy/checks/list.rst Index: clang-tools-extra/docs/clang-tidy/checks/list.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/list.rst +++ clang-tools-extra/docs/clang-tidy/checks/list.rst @@ -241,7 +241,6 @@ `google-runtime-int <google/runtime-int.html>`_, `google-runtime-operator <google/runtime-operator.html>`_, `google-upgrade-googletest-case <google/upgrade-googletest-case.html>`_, "Yes" - `hicpp-avoid-goto <hicpp/avoid-goto.html>`_, `hicpp-exception-baseclass <hicpp/exception-baseclass.html>`_, `hicpp-multiway-paths-covered <hicpp/multiway-paths-covered.html>`_, `hicpp-no-assembler <hicpp/no-assembler.html>`_, @@ -503,6 +502,7 @@ `google-readability-function-size <google/readability-function-size.html>`_, `readability-function-size <readability/function-size.html>`_, `google-readability-namespace-comments <google/readability-namespace-comments.html>`_, `llvm-namespace-comment <llvm/namespace-comment.html>`_, `hicpp-avoid-c-arrays <hicpp/avoid-c-arrays.html>`_, `modernize-avoid-c-arrays <modernize/avoid-c-arrays.html>`_, + `hicpp-avoid-goto <hicpp/avoid-goto.html>`_, cppcoreguidelines-avoid-goto <cppcoreguidelines/avoid-goto>`_, `hicpp-braces-around-statements <hicpp/braces-around-statements.html>`_, `readability-braces-around-statements <readability/braces-around-statements.html>`_, "Yes" `hicpp-deprecated-headers <hicpp/deprecated-headers.html>`_, `modernize-deprecated-headers <modernize/deprecated-headers.html>`_, "Yes" `hicpp-explicit-conversions <hicpp/explicit-conversions.html>`_, `google-explicit-constructor <google/explicit-constructor.html>`_, "Yes" Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/avoid-goto.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/avoid-goto.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/avoid-goto.rst @@ -1,4 +1,6 @@ .. title:: clang-tidy - hicpp-avoid-goto +.. meta:: + :http-equiv=refresh: 5;URL=../cppcoreguidelines/avoid-goto.html hicpp-avoid-goto ================
Index: clang-tools-extra/docs/clang-tidy/checks/list.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/list.rst +++ clang-tools-extra/docs/clang-tidy/checks/list.rst @@ -241,7 +241,6 @@ `google-runtime-int <google/runtime-int.html>`_, `google-runtime-operator <google/runtime-operator.html>`_, `google-upgrade-googletest-case <google/upgrade-googletest-case.html>`_, "Yes" - `hicpp-avoid-goto <hicpp/avoid-goto.html>`_, `hicpp-exception-baseclass <hicpp/exception-baseclass.html>`_, `hicpp-multiway-paths-covered <hicpp/multiway-paths-covered.html>`_, `hicpp-no-assembler <hicpp/no-assembler.html>`_, @@ -503,6 +502,7 @@ `google-readability-function-size <google/readability-function-size.html>`_, `readability-function-size <readability/function-size.html>`_, `google-readability-namespace-comments <google/readability-namespace-comments.html>`_, `llvm-namespace-comment <llvm/namespace-comment.html>`_, `hicpp-avoid-c-arrays <hicpp/avoid-c-arrays.html>`_, `modernize-avoid-c-arrays <modernize/avoid-c-arrays.html>`_, + `hicpp-avoid-goto <hicpp/avoid-goto.html>`_, cppcoreguidelines-avoid-goto <cppcoreguidelines/avoid-goto>`_, `hicpp-braces-around-statements <hicpp/braces-around-statements.html>`_, `readability-braces-around-statements <readability/braces-around-statements.html>`_, "Yes" `hicpp-deprecated-headers <hicpp/deprecated-headers.html>`_, `modernize-deprecated-headers <modernize/deprecated-headers.html>`_, "Yes" `hicpp-explicit-conversions <hicpp/explicit-conversions.html>`_, `google-explicit-constructor <google/explicit-constructor.html>`_, "Yes" Index: clang-tools-extra/docs/clang-tidy/checks/hicpp/avoid-goto.rst =================================================================== --- clang-tools-extra/docs/clang-tidy/checks/hicpp/avoid-goto.rst +++ clang-tools-extra/docs/clang-tidy/checks/hicpp/avoid-goto.rst @@ -1,4 +1,6 @@ .. title:: clang-tidy - hicpp-avoid-goto +.. meta:: + :http-equiv=refresh: 5;URL=../cppcoreguidelines/avoid-goto.html hicpp-avoid-goto ================
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits