Ignore:
Timestamp:
Jul 12, 2018, 3:01:50 PM (4 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer
Children:
26ef3b2, 79caea8
Parents:
0fc52b6
Message:

add inline qualifier to aggregate fields to separate plan 9 and forward semantics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/TypeData.cc

    r0fc52b6 r8f91c9ae  
    1010// Created On       : Sat May 16 15:12:51 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Jun  6 17:40:33 2018
    13 // Update Count     : 604
     12// Last Modified On : Thu Jul 12 13:52:09 2018
     13// Update Count     : 606
    1414//
    1515
     
    7676                aggregate.parent = nullptr;
    7777                aggregate.anon = false;
     78                aggregate.inLine = false;
    7879                break;
    7980          case AggregateInst:
     
    8182                aggInst.aggregate = nullptr;
    8283                aggInst.params = nullptr;
    83                 aggInst.hoistType = false;;
     84                aggInst.hoistType = false;
     85                aggInst.inLine = false;
    8486                break;
    8587          case Symbolic:
     
    219221                newtype->aggregate.body = aggregate.body;
    220222                newtype->aggregate.anon = aggregate.anon;
     223                newtype->aggregate.inLine = aggregate.inLine;
    221224                newtype->aggregate.tagged = aggregate.tagged;
    222225                newtype->aggregate.parent = aggregate.parent ? new string( *aggregate.parent ) : nullptr;
     
    226229                newtype->aggInst.params = maybeClone( aggInst.params );
    227230                newtype->aggInst.hoistType = aggInst.hoistType;
     231                newtype->aggInst.inLine = aggInst.inLine;
    228232                break;
    229233          case Enum:
Note: See TracChangeset for help on using the changeset viewer.