summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/readability-else-after-return.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang-tools-extra/docs/clang-tidy/checks/readability-else-after-return.rst b/clang-tools-extra/docs/clang-tidy/checks/readability-else-after-return.rst
index 11e9bdceaef..35cbfda147c 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/readability-else-after-return.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/readability-else-after-return.rst
@@ -6,8 +6,8 @@ readability-else-after-return
`LLVM Coding Standards <http://llvm.org/docs/CodingStandards.html>`_ advises to
reduce indentation where possible and where it makes understanding code easier.
Early exit is one of the suggested enforcements of that. Please do not use
-`else` or `else if` after something that interrupts control flow - like
-`return`, `break`, `continue`, `throw`.
+``else`` or ``else if`` after something that interrupts control flow - like
+``return``, ``break``, ``continue``, ``throw``.
The following piece of code illustrates how the check works. This piece of code:
@@ -60,5 +60,5 @@ Would be transformed into:
}
-This checks helps to enforce this `Coding Standars recommendation
+This checks helps to enforce this `Coding Standards recommendation
<http://llvm.org/docs/CodingStandards.html#don-t-use-else-after-a-return>`_.
OpenPOWER on IntegriCloud