mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Enabled performance-inefficient-vector-operation check in clang-tidy
This commit is contained in:
@@ -19,7 +19,6 @@ modernize-*,\
|
||||
-modernize-use-using,\
|
||||
performance-*,\
|
||||
-performance-inefficient-string-concatenation,\
|
||||
-performance-inefficient-vector-operation,\
|
||||
readability-*,\
|
||||
-readability-function-size,\
|
||||
-readability-identifier-naming,\
|
||||
|
||||
@@ -77,6 +77,7 @@ std::vector<std::string> prepareFilesPathsForTree(
|
||||
const std::string& currentSourceDir)
|
||||
{
|
||||
std::vector<std::string> prepared;
|
||||
prepared.reserve(filesPaths.size());
|
||||
|
||||
for (auto const& filePath : filesPaths) {
|
||||
prepared.push_back(prepareFilePathForTree(filePath, currentSourceDir));
|
||||
|
||||
Reference in New Issue
Block a user