summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2016-08-28 20:33:42 +0000
committerSylvestre Ledru <sylvestre@debian.org>2016-08-28 20:33:42 +0000
commit24b481370ac773231c38f15355a6277943a69911 (patch)
treee4aa65dfcfb3d0d813e0993e9843c9573157af83
parent843b7515aea1e77a570df75df0ac003298523771 (diff)
downloadbcm5719-llvm-24b481370ac773231c38f15355a6277943a69911.tar.gz
bcm5719-llvm-24b481370ac773231c38f15355a6277943a69911.zip
Fix some typos in the doc
llvm-svn: 279944
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines-special-member-functions.rst6
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/misc-string-literal-with-embedded-nul.rst2
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/misc-suspicious-semicolon.rst2
3 files changed, 5 insertions, 5 deletions
diff --git a/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines-special-member-functions.rst b/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines-special-member-functions.rst
index 1e4d01768ff..bcc012a8271 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines-special-member-functions.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines-special-member-functions.rst
@@ -8,12 +8,12 @@ are defined.
By default the compiler defines a copy constructor, copy assignment operator,
move constructor, move assignment operator and destructor. The default can be
-supressed by explicit user-definitions. The relationship between which
-functions will be supressed by definitions of other functions is complicated
+suppressed by explicit user-definitions. The relationship between which
+functions will be suppressed by definitions of other functions is complicated
and it is advised that all five are defaulted or explicitly defined.
Note that defining a function with ``= delete`` is considered to be a
-definition.
+definition.
This rule is part of the "Constructors, assignments, and destructors" profile of the C++ Core
Guidelines, corresponding to rule C.21. See
diff --git a/clang-tools-extra/docs/clang-tidy/checks/misc-string-literal-with-embedded-nul.rst b/clang-tools-extra/docs/clang-tidy/checks/misc-string-literal-with-embedded-nul.rst
index 8abbfd9b570..29af0a4c613 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/misc-string-literal-with-embedded-nul.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/misc-string-literal-with-embedded-nul.rst
@@ -3,7 +3,7 @@
misc-string-literal-with-embedded-nul
=====================================
-Finds occurences of string literal with embedded NUL character and validates
+Finds occurrences of string literal with embedded NUL character and validates
their usage.
Invalid escaping
diff --git a/clang-tools-extra/docs/clang-tidy/checks/misc-suspicious-semicolon.rst b/clang-tools-extra/docs/clang-tidy/checks/misc-suspicious-semicolon.rst
index 8a5711ff662..d38e6a6851c 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/misc-suspicious-semicolon.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/misc-suspicious-semicolon.rst
@@ -49,7 +49,7 @@ line. For example:
Token t = readNextToken();
Here the second line is indented in a way that suggests that it is meant to be
-the body of the `while` loop - whose body is in fact empty, becasue of the
+the body of the `while` loop - whose body is in fact empty, because of the
semicolon at the end of the first line.
Either remove the indentation from the second line:
OpenPOWER on IntegriCloud