Skip to content

Commit

Permalink
[clang-tidy][NFC] Update documentation for hicpp-avoid-goto
Browse files Browse the repository at this point in the history
Add info in check list that hicpp-avoid-goto is actually
a alias to cppcoreguidelines-avoid-goto.

Fixes: #64337

Reviewed By: carlosgalvezp

Differential Revision: https://reviews.llvm.org/D157182
  • Loading branch information
PiotrZSL committed Aug 5, 2023
1 parent 166372e commit ee2b765
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions clang-tools-extra/docs/clang-tidy/checks/hicpp/avoid-goto.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.. title:: clang-tidy - hicpp-avoid-goto
.. meta::
:http-equiv=refresh: 5;URL=../cppcoreguidelines/avoid-goto.html

hicpp-avoid-goto
================
Expand Down
2 changes: 1 addition & 1 deletion clang-tools-extra/docs/clang-tidy/checks/list.rst
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,6 @@ Clang-Tidy Checks
`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>`_,
Expand Down Expand Up @@ -503,6 +502,7 @@ Clang-Tidy Checks
`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"
Expand Down

0 comments on commit ee2b765

Please sign in to comment.