Changeset 59c8dff for src/main.cc


Ignore:
Timestamp:
Jan 19, 2024, 2:42:58 AM (4 months ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
f988834
Parents:
8b4faf6
Message:

Draft Implementation for enum position pesudo function (posE). EnumPosExpr? is mostly irrelevant for now. It is used in development/code probing and will be removed later

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    r8b4faf6 r59c8dff  
    8282#include "Validate/ReturnCheck.hpp"         // for checkReturnStatements
    8383#include "Validate/VerifyCtorDtorAssign.hpp" // for verifyCtorDtorAssign
     84#include "Validate/ReplacePseudoFunc.hpp"
    8485#include "Virtual/ExpandCasts.h"            // for expandCasts
    8586#include "Virtual/VirtualDtor.hpp"          // for implementVirtDtors
     
    287288                        assertf( extras, "cannot open extras.cf\n" );
    288289                        parse( extras, ast::Linkage::BuiltinC );
    289 
    290290                        if ( ! libcfap ) {
    291291                                // read the prelude in, if not generating the cfa library
     
    322322                PASS( "Forall Pointer Decay", Validate::decayForallPointers, transUnit );
    323323                PASS( "Fix Qualified Types", Validate::fixQualifiedTypes, transUnit );
     324
    324325                PASS( "Eliminate Typedef", Validate::eliminateTypedef, transUnit );
    325326                PASS( "Hoist Struct", Validate::hoistStruct, transUnit );
     
    381382                PASS( "Resolve", ResolvExpr::resolve, transUnit );
    382383                DUMP( exprp, std::move( transUnit ) );
     384                PASS( "Replace Pseudo Func", Validate::replacePseudoFunc, transUnit );
    383385
    384386                PASS( "Fix Init", InitTweak::fix, transUnit, buildingLibrary() );
Note: See TracChangeset for help on using the changeset viewer.