Changeset 3a5131ed for src/InitTweak


Ignore:
Timestamp:
Feb 16, 2017, 3:36:45 PM (8 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
317450e
Parents:
c3d9adc
Message:

handle KR function declarations

Location:
src/InitTweak
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/FixInit.cc

    rc3d9adc r3a5131ed  
    1010// Created On       : Wed Jan 13 16:29:30 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Jul 12 17:41:15 2016
    13 // Update Count     : 34
     12// Last Modified On : Thu Feb 16 14:58:43 2017
     13// Update Count     : 35
    1414//
    1515
     
    839839                void handleFuncDecl( FunctionDecl * funcDecl, Visitor & visitor ) {
    840840                        maybeAccept( funcDecl->get_functionType(), visitor );
    841                         acceptAll( funcDecl->get_oldDecls(), visitor );
    842841                        maybeAccept( funcDecl->get_statements(), visitor );
    843842                }
  • src/InitTweak/GenInit.cc

    rc3d9adc r3a5131ed  
    99// Author           : Rob Schluntz
    1010// Created On       : Mon May 18 07:44:20 2015
    11 // Last Modified By : Rob Schluntz
    12 // Last Modified On : Fri May 13 11:37:48 2016
    13 // Update Count     : 166
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Thu Feb 16 14:57:53 2017
     13// Update Count     : 167
    1414//
    1515
     
    320320                }
    321321                // parameters should not be constructed and destructed, so don't mutate FunctionType
    322                 mutateAll( functionDecl->get_oldDecls(), *this );
    323322                functionDecl->set_statements( maybeMutate( functionDecl->get_statements(), *this ) );
    324323
Note: See TracChangeset for help on using the changeset viewer.