diff options
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: |