[Documentation] Highlighting consistency and spelling mistake fix in Clang-tidy reada...
authorEugene Zelenko <eugene.zelenko@gmail.com>
Wed, 10 Aug 2016 18:30:14 +0000 (18:30 +0000)
committerEugene Zelenko <eugene.zelenko@gmail.com>
Wed, 10 Aug 2016 18:30:14 +0000 (18:30 +0000)
llvm-svn: 278263

clang-tools-extra/docs/clang-tidy/checks/readability-else-after-return.rst

index 11e9bdc..35cbfda 100644 (file)
@@ -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>`_.