[PATCH] D157182: [clang-tidy][NFC] Update documentation for hicpp-avoid-goto
Piotr Zegar via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 5 00:46:33 PDT 2023
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
================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157182.547459.patch
Type: text/x-patch
Size: 2130 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230805/5301d5b5/attachment-0001.bin>
More information about the cfe-commits
mailing list