Changeset 46aa60e for src/GenPoly


Ignore:
Timestamp:
Feb 23, 2024, 11:41:10 PM (2 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master, stuck-waitfor-destruct
Children:
0a9b5c1, 1e93617
Parents:
3d5a8cb (diff), 1761046 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Peter A. Buhr <pabuhr@…> (02/23/24 18:54:24)
git-committer:
Peter A. Buhr <pabuhr@…> (02/23/24 23:41:10)
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/Box.cpp

    r3d5a8cb r46aa60e  
    11091109        );
    11101110
    1111         for ( auto group : group_iterate( realType->assertions,
    1112                         adapterType->assertions, adaptee->assertions ) ) {
    1113                 auto assertArg = std::get<0>( group );
    1114                 auto assertParam = std::get<1>( group );
    1115                 auto assertReal = std::get<2>( group );
     1111        for ( auto const & [assertArg, assertParam, assertReal] : group_iterate(
     1112                        realType->assertions, adapterType->assertions, adaptee->assertions ) ) {
    11161113                adapteeApp->args.push_back( makeAdapterArg(
    11171114                        assertParam->var, assertArg->var->get_type(),
     
    19701967        bool hasDynamicLayout = false;
    19711968
    1972         for ( auto pair : group_iterate( baseParams, typeParams ) ) {
    1973                 auto baseParam = std::get<0>( pair );
    1974                 auto typeParam = std::get<1>( pair );
     1969        for ( auto const & [baseParam, typeParam] : group_iterate(
     1970                        baseParams, typeParams ) ) {
    19751971                if ( !baseParam->isComplete() ) continue;
    19761972                ast::TypeExpr const * typeExpr = typeParam.as<ast::TypeExpr>();
Note: See TracChangeset for help on using the changeset viewer.