Changeset ed94eac for src/SynTree/Type.h


Ignore:
Timestamp:
Nov 20, 2015, 12:27:01 PM (6 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, ctor, deferred_resn, demangler, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, string, with_gc
Children:
66a2a61, 70d4b4f, 839ccbb
Parents:
258eb5c9
Message:

Fixed bug with get_baseParameters()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Type.h

    r258eb5c9 red94eac  
    238238        void set_baseStruct( StructDecl *newValue ) { baseStruct = newValue; }
    239239
    240         /// Accesses generic parameters of base struct
    241         std::list<TypeDecl*>& get_baseParameters();
     240        /// Accesses generic parameters of base struct (NULL if none such)
     241        std::list<TypeDecl*>* get_baseParameters();
    242242       
    243243        /// Looks up the members of this struct named "name" and places them into "foundDecls".
     
    265265        void set_baseUnion( UnionDecl *newValue ) { baseUnion = newValue; }
    266266
    267         /// Accesses generic parameters of base union
    268         std::list<TypeDecl*>& get_baseParameters();
     267        /// Accesses generic parameters of base union (NULL if none such)
     268        std::list<TypeDecl*>* get_baseParameters();
    269269       
    270270        /// looks up the members of this union named "name" and places them into "foundDecls"
Note: See TracChangeset for help on using the changeset viewer.