Changeset 2c38b15


Ignore:
Timestamp:
Jun 19, 2023, 12:13:18 PM (11 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
33d4bc8
Parents:
dc136d7
Message:

Moved the using statement in main out of view of the includes. Tried moving 'Eliminate Typedef' closer to 'Replace Typedef' but it only made it one pass.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    rdc136d7 r2c38b15  
    2828#include <list>                             // for list
    2929#include <string>                           // for char_traits, operator<<
    30 
    31 using namespace std;
    3230
    3331#include "AST/Convert.hpp"
     
    8886#include "Virtual/VirtualDtor.hpp"           // for implementVirtDtors
    8987
     88using namespace std;
     89
    9090static void NewPass( const char * const name ) {
    9191        Stats::Heap::newPass( name );
     
    335335
    336336                PASS( "Fix Qualified Types", Validate::fixQualifiedTypes, transUnit );
     337                PASS( "Eliminate Typedef", Validate::eliminateTypedef, transUnit );
    337338                PASS( "Hoist Struct", Validate::hoistStruct, transUnit );
    338                 PASS( "Eliminate Typedef", Validate::eliminateTypedef, transUnit );
    339339                PASS( "Validate Generic Parameters", Validate::fillGenericParameters, transUnit );
    340340                PASS( "Translate Dimensions", Validate::translateDimensionParameters, transUnit );
Note: See TracChangeset for help on using the changeset viewer.