Changeset 89d129c for src/SynTree


Ignore:
Timestamp:
Mar 17, 2017, 5:34:16 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:
6e8f1df, 829c907
Parents:
409433da (diff), 946bcca (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 plg2:software/cfa/cfa-cc

Location:
src/SynTree
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Declaration.cc

    r409433da r89d129c  
    3232
    3333Declaration::Declaration( const Declaration &other )
    34         : name( other.name ), storageClasses( other.storageClasses ), linkage( other.linkage ), uniqueId( other.uniqueId ) {
     34        : BaseSyntaxNode( other ), name( other.name ), storageClasses( other.storageClasses ), linkage( other.linkage ), uniqueId( other.uniqueId ) {
    3535}
    3636
  • src/SynTree/Expression.cc

    r409433da r89d129c  
    3333Expression::Expression( Expression *_aname ) : result( 0 ), env( 0 ), argName( _aname ) {}
    3434
    35 Expression::Expression( const Expression &other ) : result( maybeClone( other.result ) ), env( maybeClone( other.env ) ), argName( maybeClone( other.get_argName() ) ), extension( other.extension ) {
     35Expression::Expression( const Expression &other ) : BaseSyntaxNode( other ), result( maybeClone( other.result ) ), env( maybeClone( other.env ) ), argName( maybeClone( other.get_argName() ) ), extension( other.extension ) {
    3636}
    3737
  • src/SynTree/Initializer.cc

    r409433da r89d129c  
    2020
    2121Initializer::Initializer( bool maybeConstructed ) : maybeConstructed( maybeConstructed ) {}
    22 Initializer::Initializer( const Initializer & other ) : maybeConstructed( other.maybeConstructed ) {
     22Initializer::Initializer( const Initializer & other ) : BaseSyntaxNode( other ), maybeConstructed( other.maybeConstructed ) {
    2323}
    2424
  • src/SynTree/Initializer.h

    r409433da r89d129c  
    112112// ConstructorInit represents an initializer that is either a constructor expression or
    113113// a C-style initializer.
     114// It should not be necessary to create ConstructorInit nodes manually. Instead, set maybeConstructed
     115// to true on SingleInit or ListInit constructors if object should be constructed.
    114116class ConstructorInit : public Initializer {
    115117  public:
  • src/SynTree/Type.cc

    r409433da r89d129c  
    5050Type::Type( const Qualifiers &tq, const std::list< Attribute * > & attributes ) : tq( tq ), attributes( attributes ) {}
    5151
    52 Type::Type( const Type &other ) : tq( other.tq ) {
     52Type::Type( const Type &other ) : BaseSyntaxNode( other ), tq( other.tq ) {
    5353        cloneAll( other.forall, forall );
    5454        cloneAll( other.attributes, attributes );
     
    8484                printAll( attributes, os, indent+4 );
    8585        } // if
    86        
     86
    8787        tq.print( os );
    8888}
Note: See TracChangeset for help on using the changeset viewer.