Ignore:
Timestamp:
Jul 16, 2016, 9:19:33 AM (9 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
20340c2, 7a2c5391
Parents:
cb2e8ce (diff), 5d125e4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Declaration.h

    rcb2e8ce r873ffb7  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Jun 30 21:17:24 2016
    13 // Update Count     : 38
     12// Last Modified On : Tue Jul 12 21:03:17 2016
     13// Update Count     : 39
    1414//
    1515
     
    210210        std::list<TypeDecl*>& get_parameters() { return parameters; }
    211211
     212        bool has_body() const { return body; }
     213        AggregateDecl * set_body( bool body ) { AggregateDecl::body = body; return this; }
     214
    212215        virtual void print( std::ostream &os, int indent = 0 ) const;
    213216        virtual void printShort( std::ostream &os, int indent = 0 ) const;
     
    218221        std::list<Declaration*> members;
    219222        std::list<TypeDecl*> parameters;
     223        bool body;
    220224};
    221225
     
    229233        virtual void accept( Visitor &v ) { v.visit( this ); }
    230234        virtual Declaration *acceptMutator( Mutator &m ) { return m.mutate( this ); }
    231 
    232235  private:
    233236        virtual std::string typeString() const;
Note: See TracChangeset for help on using the changeset viewer.