diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2016-03-03 20:57:16 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2016-03-03 20:57:16 +0000 |
commit | 0b027eab7a48e190fb27ce77d6ea9e6d0c9f27e8 (patch) | |
tree | 3c673c8bdd055d80619f326ed28c5ed8c89732dc | |
parent | 4098de40621aa94377d20fbb8b33682f35ee1a0c (diff) | |
download | bcm5719-llvm-0b027eab7a48e190fb27ce77d6ea9e6d0c9f27e8.tar.gz bcm5719-llvm-0b027eab7a48e190fb27ce77d6ea9e6d0c9f27e8.zip |
fix some minor typos in the doc
llvm-svn: 262655
3 files changed, 5 insertions, 5 deletions
diff --git a/clang-tools-extra/docs/clang-tidy/checks/misc-string-integer-assignment.rst b/clang-tools-extra/docs/clang-tidy/checks/misc-string-integer-assignment.rst index faafcd99158..285702eae5b 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/misc-string-integer-assignment.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/misc-string-integer-assignment.rst @@ -11,7 +11,7 @@ following assignment operator of ``std::basic_string<CharT>``: 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++ diff --git a/clang-tools-extra/docs/clang-tidy/checks/readability-implicit-bool-cast.rst b/clang-tools-extra/docs/clang-tidy/checks/readability-implicit-bool-cast.rst index 76c82b41ec4..bdd4d7de479 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/readability-implicit-bool-cast.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/readability-implicit-bool-cast.rst @@ -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 for pre-C++11 dialects: - ``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. diff --git a/clang-tools-extra/docs/pp-trace.rst b/clang-tools-extra/docs/pp-trace.rst index 5ea9dd69f81..db8743aa14b 100644 --- a/clang-tools-extra/docs/pp-trace.rst +++ b/clang-tools-extra/docs/pp-trace.rst @@ -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`. |