mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
clang-tidy: fix modernize-loop-convert lints
This commit is contained in:
@@ -278,8 +278,8 @@ void cmGlobalVisualStudio8Generator::AddExtraIDETargets()
|
||||
{
|
||||
cmGlobalVisualStudio7Generator::AddExtraIDETargets();
|
||||
if (this->AddCheckTarget()) {
|
||||
for (unsigned int i = 0; i < this->LocalGenerators.size(); ++i) {
|
||||
const auto& tgts = this->LocalGenerators[i]->GetGeneratorTargets();
|
||||
for (auto& LocalGenerator : this->LocalGenerators) {
|
||||
const auto& tgts = LocalGenerator->GetGeneratorTargets();
|
||||
// All targets depend on the build-system check target.
|
||||
for (const auto& ti : tgts) {
|
||||
if (ti->GetName() != CMAKE_CHECK_BUILD_SYSTEM_TARGET) {
|
||||
|
||||
Reference in New Issue
Block a user