Skip to content

cmGlobalGenerator: Code maintenance

In cmGlobalGenerator.cxx

  • Use auto for long iterator types

  • Inline aRange acquisition in for(x:aRange) invocations. This changes the following code snippets in cmGlobalGenerator.cxx

    AType aRange = object.getRange();
    for ( auto & item: aRange) {

    to

    for ( auto & item: object.getRange()) {

Merge request reports