[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 09:49:10 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rGee2b765cdd5b: [clang-tidy][NFC] Update documentation for hicpp-avoid-goto (authored by PiotrZSL).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D157182/new/

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.547498.patch
Type: text/x-patch
Size: 2130 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230805/fde07d84/attachment.bin>


More information about the cfe-commits mailing list