Ignore:
Timestamp:
Aug 11, 2015, 4:37:37 PM (9 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
Children:
543159b, d58ebf3
Parents:
c29d9ce (diff), 51b1202 (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 /u/cforall/software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/ParseNode.h

    rc29d9ce ra3a17ba  
    1010// Created On       : Sat May 16 13:28:16 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Jul 30 15:11:39 2015
    13 // Update Count     : 141
     12// Last Modified On : Tue Aug 11 15:11:29 2015
     13// Update Count     : 145
    1414//
    1515
     
    136136  private:
    137137        bool isLabel;
     138};
     139
     140class DesignatorNode : public ExpressionNode {
     141  public:
     142        DesignatorNode( ExpressionNode *expr, bool isArrayIndex = false );
     143        DesignatorNode( const DesignatorNode &other );
     144
     145        virtual Expression *build() const ;
     146        virtual DesignatorNode *clone() const { return new DesignatorNode( *this ); }
     147
     148        virtual void print( std::ostream &, int indent = 0 ) const;
     149        virtual void printOneLine( std::ostream &, int indent = 0 ) const;
     150  private:
     151        bool isArrayIndex;
    138152};
    139153
Note: See TracChangeset for help on using the changeset viewer.