Ignore:
Timestamp:
Apr 25, 2024, 3:43:52 PM (3 weeks ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
7042c60, e78966e
Parents:
314c9d8 (diff), a1fbad0 (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.
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/CodeGenerator.cpp

    r314c9d8 r55c97e4  
    167167        ast::Pass<CodeGenerator> subCG( acc, subOptions );
    168168        // Add the forall clause.
    169         // TODO: These probably should be removed by now and the assert used.
    170169        if ( !decl->type_params.empty() ) {
    171170                assertf( !options.genC, "FunctionDecl forall should not reach code generation." );
     
    174173                acc << ")" << std::endl;
    175174        }
     175        // The forall clause should be printed early as part of the preamble.
     176        output << acc.str();
     177        acc.str("");
    176178
    177179        acc << mangleName( decl );
Note: See TracChangeset for help on using the changeset viewer.