diff options
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.rst | 5 |
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. |

