[clang-tools-extra] r260869 - Improve documentation

Felix Berger via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 14 19:27:54 PST 2016


Author: flx
Date: Sun Feb 14 21:27:54 2016
New Revision: 260869

URL: http://llvm.org/viewvc/llvm-project?rev=260869&view=rev
Log:
Improve documentation

Modified:
    clang-tools-extra/trunk/docs/clang-tidy/checks/performance-for-range-copy.rst

Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/performance-for-range-copy.rst
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/performance-for-range-copy.rst?rev=260869&r1=260868&r2=260869&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/clang-tidy/checks/performance-for-range-copy.rst (original)
+++ clang-tools-extra/trunk/docs/clang-tidy/checks/performance-for-range-copy.rst Sun Feb 14 21:27:54 2016
@@ -10,8 +10,8 @@ The check is only applied to loop variab
 which means they are not trivially copyable or have a non-trivial copy
 constructor or destructor.
 
-To ensure that it is safe to replace the copy with const reference the following
-heuristic is employed:
+To ensure that it is safe to replace the copy with a const reference the
+following heuristic is employed:
 
 1. The loop variable is const qualified.
 2. The loop variable is not const, but only const methods or operators are




More information about the cfe-commits mailing list