Ignore:
Timestamp:
Feb 16, 2017, 3:36:45 PM (7 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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Declaration.h

    rc3d9adc r3a5131ed  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Feb  9 14:27:08 2017
    13 // Update Count     : 56
     12// Last Modified On : Thu Feb 16 14:53:35 2017
     13// Update Count     : 57
    1414//
    1515
     
    140140        CompoundStmt *get_statements() const { return statements; }
    141141        void set_statements( CompoundStmt *newValue ) { statements = newValue; }
    142         std::list< std::string >& get_oldIdents() { return oldIdents; }
    143         std::list< Declaration* >& get_oldDecls() { return oldDecls; }
    144142
    145143        virtual FunctionDecl *clone() const { return new FunctionDecl( *this ); }
     
    151149        FunctionType *type;
    152150        CompoundStmt *statements;
    153         std::list< std::string > oldIdents;
    154         std::list< Declaration* > oldDecls;
    155151};
    156152
Note: See TracChangeset for help on using the changeset viewer.