mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
clang-tidy: modernize-use-auto
Set the MinTypeNameLength option to an impossibly high value in order to limit the diagnostics to iterators. Leave new expressions and cast expressions for later.
This commit is contained in:
@@ -573,8 +573,7 @@ void cmExtraCodeBlocksGenerator::AppendTarget(
|
||||
cmAppend(allIncludeDirs, cmExpandedList(systemIncludeDirs));
|
||||
}
|
||||
|
||||
std::vector<std::string>::const_iterator end =
|
||||
cmRemoveDuplicates(allIncludeDirs);
|
||||
auto end = cmRemoveDuplicates(allIncludeDirs);
|
||||
|
||||
for (std::string const& str : cmMakeRange(allIncludeDirs.cbegin(), end)) {
|
||||
xml.StartElement("Add");
|
||||
|
||||
Reference in New Issue
Block a user