summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/docs/clang-tidy/checks/performance-implicit-cast-in-loop.rst
diff options
context:
space:
mode:
authorEugene Zelenko <eugene.zelenko@gmail.com>2016-03-31 23:09:42 +0000
committerEugene Zelenko <eugene.zelenko@gmail.com>2016-03-31 23:09:42 +0000
commitba539dbad26e20c1b95de7764377a864fc359aa2 (patch)
tree543c5c18049c83b4219b312600e61ff1c4bfc4be /clang-tools-extra/docs/clang-tidy/checks/performance-implicit-cast-in-loop.rst
parent19832b616e7762b2f13437654abfbca011eb970f (diff)
downloadbcm5719-llvm-ba539dbad26e20c1b95de7764377a864fc359aa2.tar.gz
bcm5719-llvm-ba539dbad26e20c1b95de7764377a864fc359aa2.zip
Update release notes with list of checks added since 3.8.
Fix some checks documentation style. Differential revision: http://reviews.llvm.org/D18582 llvm-svn: 265072
Diffstat (limited to 'clang-tools-extra/docs/clang-tidy/checks/performance-implicit-cast-in-loop.rst')
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/performance-implicit-cast-in-loop.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang-tools-extra/docs/clang-tidy/checks/performance-implicit-cast-in-loop.rst b/clang-tools-extra/docs/clang-tidy/checks/performance-implicit-cast-in-loop.rst
index f7e3cdcc6e7..4a3c63d860a 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/performance-implicit-cast-in-loop.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/performance-implicit-cast-in-loop.rst
@@ -1,8 +1,9 @@
performance-implicit-cast-in-loop
=================================
-This warning appears in range-based loop with loop variable of const ref type
-where the type of the variable does not match the one returned by the iterator.
+This warning appears in a range-based loop with a loop variable of const ref
+type where the type of the variable does not match the one returned by the
+iterator.
This means that an implicit cast has been added, which can for example result in
expensive deep copies.
OpenPOWER on IntegriCloud