| 1 |
.. title:: clang-tidy - hicpp-avoid-goto |
| 2 |
|
| 3 |
hicpp-avoid-goto |
| 4 |
================ |
| 5 |
|
| 6 |
The `hicpp-avoid-goto` check is an alias to |
| 7 |
`cppcoreguidelines-avoid-goto <../cppcoreguidelines/avoid-goto.html>`_. |
| 8 |
Rule `6.3.1 High Integrity C++ <http://www.codingstandard.com/rule/6-3-1-ensure-that-the-labels-for-a-jump-statement-or-a-switch-condition-appear-later-in-the-same-or-an-enclosing-block/>`_ |
| 9 |
requires that ``goto`` only skips parts of a block and is not used for other |
| 10 |
reasons. |
| 11 |
|
| 12 |
Both coding guidelines implement the same exception to the usage of ``goto``. |