[clang-tools-extra] r262655 - fix some minor typos in the doc
Sylvestre Ledru via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 3 12:57:16 PST 2016
Author: sylvestre
Date: Thu Mar 3 14:57:16 2016
New Revision: 262655
URL: http://llvm.org/viewvc/llvm-project?rev=262655&view=rev
Log:
fix some minor typos in the doc
Modified:
clang-tools-extra/trunk/docs/clang-tidy/checks/misc-string-integer-assignment.rst
clang-tools-extra/trunk/docs/clang-tidy/checks/readability-implicit-bool-cast.rst
clang-tools-extra/trunk/docs/pp-trace.rst
Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/misc-string-integer-assignment.rst
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/misc-string-integer-assignment.rst?rev=262655&r1=262654&r2=262655&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/clang-tidy/checks/misc-string-integer-assignment.rst (original)
+++ clang-tools-extra/trunk/docs/clang-tidy/checks/misc-string-integer-assignment.rst Thu Mar 3 14:57:16 2016
@@ -11,7 +11,7 @@ following assignment operator of ``std::
basic_string& operator=( CharT ch );
-Numeric types can be implicity casted to character types.
+Numeric types can be implicitly casted to character types.
.. code:: c++
Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/readability-implicit-bool-cast.rst
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/readability-implicit-bool-cast.rst?rev=262655&r1=262654&r2=262655&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/clang-tidy/checks/readability-implicit-bool-cast.rst (original)
+++ clang-tools-extra/trunk/docs/clang-tidy/checks/readability-implicit-bool-cast.rst Thu Mar 3 14:57:16 2016
@@ -26,11 +26,11 @@ bool cast:
This code is the result of unsuccessful refactoring, where type of ``m_foo``
changed from ``bool`` to ``int``. The programmer forgot to change all
-occurences of ``bool``, and the remaining code is no longer correct, yet it
+occurrences of ``bool``, and the remaining code is no longer correct, yet it
still compiles without any visible warnings.
In addition to issuing warnings, FixIt hints are provided to help solve
-the reported issues. This can be used for improving readabilty of code, for example:
+the reported issues. This can be used for improving readability of code, for example:
.. code:: c++
@@ -95,5 +95,5 @@ Some additional accommodations are made
- ``false`` literal cast to pointer is detected,
- instead of ``nullptr`` literal, ``0`` is proposed as replacement.
-Occurences of implicit casts inside macros and template instantiations are
+Occurrences of implicit casts inside macros and template instantiations are
deliberately ignored, as it is not clear how to deal with such cases.
Modified: clang-tools-extra/trunk/docs/pp-trace.rst
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/pp-trace.rst?rev=262655&r1=262654&r2=262655&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/pp-trace.rst (original)
+++ clang-tools-extra/trunk/docs/pp-trace.rst Thu Mar 3 14:57:16 2016
@@ -10,7 +10,7 @@ pp-trace User's Manual
:program:`pp-trace` is a standalone tool that traces preprocessor
activity. It's also used as a test of Clang's PPCallbacks interface.
It runs a given source file through the Clang preprocessor, displaying
-selected information from callback functions overidden in a
+selected information from callback functions overridden in a
`PPCallbacks <http://clang.llvm.org/doxygen/classclang_1_1PPCallbacks.html>`_
derivation. The output is in a high-level YAML format, described in
:ref:`OutputFormat`.
More information about the cfe-commits
mailing list