diff options
Diffstat (limited to 'clang-tools-extra/docs/clang-tidy/checks/performance-inefficient-vector-operation.rst')
-rw-r--r-- | clang-tools-extra/docs/clang-tidy/checks/performance-inefficient-vector-operation.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/docs/clang-tidy/checks/performance-inefficient-vector-operation.rst b/clang-tools-extra/docs/clang-tidy/checks/performance-inefficient-vector-operation.rst index d6288b9f023..8cf9318fd7b 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/performance-inefficient-vector-operation.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/performance-inefficient-vector-operation.rst @@ -18,7 +18,7 @@ statement body: v.push_back(n); // This will trigger the warning since the push_back may cause multiple // memory reallocations in v. This can be avoid by inserting a 'reserve(n)' - // statment before the for statment. + // statement before the for statement. } @@ -36,7 +36,7 @@ statement body: v.push_back(element); // This will trigger the warning since the 'push_back' may cause multiple // memory reallocations in v. This can be avoid by inserting a - // 'reserve(data.size())' statment before the for statment. + // 'reserve(data.size())' statement before the for statement. } |