Author: sylvestre Date: Sun Aug 28 15:33:42 2016 New Revision: 279944 URL: http://llvm.org/viewvc/llvm-project?rev=279944&view=rev Log: Fix some typos in the doc
Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/cppcoreguidelines-special-member-functions.rst clang-tools-extra/trunk/docs/clang-tidy/checks/misc-string-literal-with-embedded-nul.rst clang-tools-extra/trunk/docs/clang-tidy/checks/misc-suspicious-semicolon.rst Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/cppcoreguidelines-special-member-functions.rst URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/cppcoreguidelines-special-member-functions.rst?rev=279944&r1=279943&r2=279944&view=diff ============================================================================== --- clang-tools-extra/trunk/docs/clang-tidy/checks/cppcoreguidelines-special-member-functions.rst (original) +++ clang-tools-extra/trunk/docs/clang-tidy/checks/cppcoreguidelines-special-member-functions.rst Sun Aug 28 15:33:42 2016 @@ -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 Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/misc-string-literal-with-embedded-nul.rst URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/misc-string-literal-with-embedded-nul.rst?rev=279944&r1=279943&r2=279944&view=diff ============================================================================== --- clang-tools-extra/trunk/docs/clang-tidy/checks/misc-string-literal-with-embedded-nul.rst (original) +++ clang-tools-extra/trunk/docs/clang-tidy/checks/misc-string-literal-with-embedded-nul.rst Sun Aug 28 15:33:42 2016 @@ -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 Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/misc-suspicious-semicolon.rst URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/misc-suspicious-semicolon.rst?rev=279944&r1=279943&r2=279944&view=diff ============================================================================== --- clang-tools-extra/trunk/docs/clang-tidy/checks/misc-suspicious-semicolon.rst (original) +++ clang-tools-extra/trunk/docs/clang-tidy/checks/misc-suspicious-semicolon.rst Sun Aug 28 15:33:42 2016 @@ -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: _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits