Changeset 39f04ec for src/SynTree


Ignore:
Timestamp:
Jul 5, 2016, 11:10:14 AM (10 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:
9bb81bb8
Parents:
a43e1d7 (diff), d32c4e2 (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

Location:
src/SynTree
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Constant.h

    ra43e1d7 r39f04ec  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Jul 30 15:19:16 2015
    13 // Update Count     : 5
     12// Last Modified On : Thu Jun 30 13:33:17 2016
     13// Update Count     : 6
    1414//
    1515
     
    2929        Type *get_type() { return type; }
    3030        void set_type( Type *newValue ) { type = newValue; }
    31         std::string get_value() { return value; }
     31        std::string &get_value() { return value; }
    3232        void set_value( std::string newValue ) { value = newValue; }
    3333
  • src/SynTree/Declaration.h

    ra43e1d7 r39f04ec  
    99// Author           : Richard C. Bilson
    1010// Created On       : Mon May 18 07:44:20 2015
    11 // Last Modified By : Rob Schluntz
    12 // Last Modified On : Fri May 06 16:26:12 2016
    13 // Update Count     : 33
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Thu Jun 30 21:17:24 2016
     13// Update Count     : 38
    1414//
    1515
     
    4141        void set_isNoreturn( bool newValue ) { isNoreturn = newValue; }
    4242        UniqueId get_uniqueId() const { return uniqueId; }
     43        bool get_extension() const { return extension; }
     44        Declaration *set_extension( bool exten ) { extension = exten; return this; }
    4345
    4446        void fixUniqueId( void );
     
    5759        bool isInline, isNoreturn;
    5860        UniqueId uniqueId;
     61        bool extension = false;
    5962};
    6063
  • src/SynTree/Expression.h

    ra43e1d7 r39f04ec  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Jun  8 17:05:30 2016
    13 // Update Count     : 22
     12// Last Modified On : Mon Jul  4 14:45:32 2016
     13// Update Count     : 23
    1414//
    1515
     
    3939        void set_argName( Expression *name ) { argName = name; }
    4040        bool get_extension() const { return extension; }
    41         void set_extension( bool exten ) { extension = exten; }
     41        Expression * set_extension( bool exten ) { extension = exten; return this; }
    4242
    4343        virtual Expression *clone() const = 0;
Note: See TracChangeset for help on using the changeset viewer.