[clang-tools-extra] r278198 - [Documentation] Fix spelling mistakes in docs/clang-tidy/index.rst.

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 9 23:45:50 PDT 2016


Thanks! Could you fix one more nit below?

On Aug 10, 2016 04:03, "Eugene Zelenko via cfe-commits" <
cfe-commits at lists.llvm.org> wrote:

Author: eugenezelenko
Date: Tue Aug  9 20:55:51 2016
New Revision: 278198

URL: http://llvm.org/viewvc/llvm-project?rev=278198&view=rev
Log:
[Documentation] Fix spelling mistakes in docs/clang-tidy/index.rst.

Modified:
    clang-tools-extra/trunk/docs/clang-tidy/index.rst

Modified: clang-tools-extra/trunk/docs/clang-tidy/index.rst
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/
trunk/docs/clang-tidy/index.rst?rev=278198&r1=278197&r2=278198&view=diff
============================================================
==================
--- clang-tools-extra/trunk/docs/clang-tidy/index.rst (original)
+++ clang-tools-extra/trunk/docs/clang-tidy/index.rst Tue Aug  9 20:55:51
2016
@@ -79,7 +79,7 @@ does not enable any checks itself).

 Clang diagnostics have check names starting with ``clang-diagnostic-``.
 Diagnostics which have a corresponding warning option, are named
-``clang-diagostic-<warning-option>``, e.g. Clang warning controlled by
+``clang-diagnostic-<warning-option>``, e.g. Clang warning controlled by
 ``-Wliteral-conversion`` will be reported with check name
 ``clang-diagnostic-literal-conversion``.

@@ -140,7 +140,7 @@ An overview of all the command-line opti
                                    report to stderr.
     -export-fixes=<filename>     -
                                    YAML file to store suggested fixes in.
The
-                                   stored fixes can be applied to the
input sorce
+                                   stored fixes can be applied to the
input source
                                    code with clang-apply-replacements.
     -extra-arg=<string>          - Additional argument to append to the
compiler command line
     -extra-arg-before=<string>   - Additional argument to prepend to the
compiler command line
@@ -246,7 +246,7 @@ rest of this document explains how to do
 There are a few tools particularly useful when developing clang-tidy
checks:
   * ``add_new_check.py`` is a script to automate the process of adding a
new
     check, it will create the check, update the CMake file and create a
test;
-  * ``rename_check.py`` does what the script name suggest, renames an
existsing
+  * ``rename_check.py`` does what the script name suggest, renames an
existing


nit: s/suggest/suggests/

     check;
   * :program:`clang-query` is invaluable for interactive prototyping of AST
     matchers and exploration of the Clang AST;
@@ -562,7 +562,7 @@ source code is at `test/clang-tidy/googl
   }

 There are many dark corners in the C++ language, and it may be difficult
to make
-your check work perfectly in all cases, especially if it issues fixit
hints. The
+your check work perfectly in all cases, especially if it issues fix-it
hints. The
 most frequent pitfalls are macros and templates:

 1. code written in a macro body/template definition may have a different
meaning
@@ -570,7 +570,7 @@ most frequent pitfalls are macros and te
 2. multiple macro expansions/template instantiations may result in the
same code
    being inspected by the check multiple times (possibly, with different
    meanings, see 1), and the same warning (or a slightly different one)
may be
-   issued by the check multipe times; clang-tidy will deduplicate
_identical_
+   issued by the check multiple times; clang-tidy will deduplicate
_identical_
    warnings, but if the warnings are slightly different, all of them will
be
    shown to the user (and used for applying fixes, if any);
 3. making replacements to a macro body/template definition may be fine for
some


_______________________________________________
cfe-commits mailing list
cfe-commits at lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160810/bb8ff3ab/attachment.html>


More information about the cfe-commits mailing list