Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/FixFunction.cc

    r1931bb01 r7ff3e522  
    99// Author           : Richard C. Bilson
    1010// Created On       : Sun May 17 16:19:49 2015
    11 // Last Modified By : Andrew Beach
    12 // Last Modified On : Tue Jul 12 14:28:00 2022
    13 // Update Count     : 7
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Mon Mar  6 23:36:59 2017
     13// Update Count     : 6
    1414//
    1515
     
    122122                }
    123123
    124                 void previsit( const ast::FunctionType * ) { visit_children = false; }
    125 
    126                 const ast::Type * postvisit( const ast::FunctionType * type ) {
    127                         return new ast::PointerType( type );
    128                 }
    129 
    130124                void previsit( const ast::VoidType * ) { isVoid = true; }
    131125
     
    151145}
    152146
    153 const ast::Type * fixFunction( const ast::Type * type, bool & isVoid ) {
    154         ast::Pass< FixFunction_new > fixer;
    155         type = type->accept( fixer );
    156         isVoid |= fixer.core.isVoid;
    157         return type;
    158 }
    159 
    160147} // namespace SymTab
    161148
Note: See TracChangeset for help on using the changeset viewer.