Ignore:
Timestamp:
Jun 8, 2015, 8:56:35 PM (9 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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:
81419b5
Parents:
cd623a4
Message:

fix constant types, remove unnecessary string copying, work on regression testing, fix several memory leaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Tests/SynTree/Expected/Initialization.tst

    rcd623a4 r5f2f2d7  
    1 x21: a pointer to signed int
    2 x22: a signed int
    3 x21: a pointer to signed int
    4 x22: a signed int
    5 y1: a open array of signed int
    6 y2: a open array of signed int
     1x21: pointer to signed int with initializer
     2  Simple Initializer:     Name: 0
     3
     4x22: signed int with initializer
     5  Simple Initializer:     Name: 0
     6
     7x21: pointer to signed int with initializer
     8  Simple Initializer:     Name: 0
     9
     10x22: signed int with initializer
     11  Simple Initializer:     Name: 0
     12
     13y1: array of signed int with dimension of constant expression 20 signed int
     14y2: array of signed int with dimension of constant expression 20 signed int
    715struct __anonymous0
    816    with members
    9       w: a tuple of types
     17      w: tuple of types
    1018          signed int
    1119
    1220
    13 a: a instance of struct __anonymous0
     21a: instance of struct __anonymous0 with initializer
     22  Compound initializer: 
     23    Simple Initializer:       Tuple:
     24        constant expression 2 signed int
     25
     26      designated by:         Name: w
     27
    1428struct __anonymous1
    1529    with members
    16       a: a open array of signed int
    17       b: a signed int
     30      a: array of signed int with dimension of constant expression 3 signed int
     31      b: signed int
    1832
    19 w: a open array of instance of struct __anonymous1
     33w: open array of instance of struct __anonymous1 with initializer
     34  Compound initializer: 
     35    Compound initializer:        designated by: [        Name: 0
     36        Name: a
     37      ]
     38      Simple Initializer:         Name: 1
     39
     40    Simple Initializer:       Name: 1
     41
     42      designated by:         Name: 0
     43        Name: b
     44
     45    Simple Initializer: constant expression 2 signed int
     46      designated by:         Name: 1
     47        Name: a
     48        Name: 0
     49
    2050struct __anonymous3
    2151    with members
    22       f1: a signed int
    23       f2: a signed int
    24       f3: a signed int
     52      f1: signed int
     53      f2: signed int
     54      f3: signed int
    2555      struct __anonymous2
    2656          with members
    27             g1: a signed int
    28             g2: a signed int
    29             g3: a signed int
     57            g1: signed int
     58            g2: signed int
     59            g3: signed int
    3060
    31       f4: a open array of instance of struct __anonymous2
     61      f4: array of instance of struct __anonymous2 with dimension of constant expression 4 signed int
    3262
    33 v7: a instance of struct __anonymous3
     63v7: instance of struct __anonymous3 with initializer
     64  Compound initializer: 
     65    Simple Initializer: constant expression 4 signed int
     66      designated by:         Name: f1
     67
     68    Simple Initializer: constant expression 3 signed int
     69      designated by:         Name: f2
     70
     71    Compound initializer:        designated by: [        Name: f4
     72constant expression 2 signed int       ]
     73      Simple Initializer: constant expression 3 signed int
     74        designated by:           Name: g1
     75
     76      Simple Initializer:         Name: 0
     77
     78        designated by:           Name: g3
     79
     80    Simple Initializer: constant expression 7 signed int
     81      designated by:         Name: f4
     82constant expression 3 signed int         Name: g3
     83
Note: See TracChangeset for help on using the changeset viewer.