Ignore:
Timestamp:
Jun 8, 2015, 8:56:35 PM (11 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/Typedef.tst

    rcd623a4 r5f2f2d7  
    1 T: a typedef for signed int
    2 f: a function
     1T: typedef for signed int
     2f: function
    33    with parameters
    44      void
     
    66      void
    77    with body
    8       Declaration of T: a function
    9           with parameters
    10             instance of type T
    11           returning
    12             signed int
     8      CompoundStmt
     9        Declaration of T: function
     10            with parameters
     11              instance of type T (not function type)
     12            returning
     13              signed int
    1314
     15                  Expression Statement:
     16            Applying untyped:
     17                Name: T
     18            ...to:
     19constant expression 3 signed int
    1420
    1521struct __anonymous0
    1622    with members
    17       T: a instance of type T
     23      T: instance of type T (not function type)
    1824
    19 fred: a instance of struct __anonymous0
    20 a: a typedef for pointer to function
     25fred: instance of struct __anonymous0 with initializer
     26  Compound initializer: 
     27    Simple Initializer: constant expression 3 signed int
     28a: typedef for pointer to function
    2129    with parameters
    2230      signed int
     
    2533      signed int
    2634
    27 b: a instance of type a
    28 g: a function
     35b: instance of type a (not function type)
     36g: function
    2937    with parameters
    3038      void
     
    3240      signed int
    3341    with body
    34       Declaration of a: a double
     42      CompoundStmt
     43        Declaration of a: double
    3544
    36 c: a instance of type a
    37 main: a function
     45c: instance of type a (not function type)
     46main: C function
     47      accepting unspecified arguments
    3848    returning
    3949      signed int
    4050    with body
     51      CompoundStmt
    4152
    42 arrayOf10Pointers: a typedef for open array of pointer to signed int
    43 x: a instance of type arrayOf10Pointers
    44 constantPointer: a typedef for const pointer to signed int
    45 funcPtr: a typedef for pointer to function
     53arrayOf10Pointers: typedef for array of pointer to signed int with dimension of constant expression 10 signed int
     54x: instance of type arrayOf10Pointers (not function type)
     55constantPointer: typedef for const pointer to signed int
     56funcPtr: typedef for pointer to function
    4657    with parameters
    4758      open array of signed int
     
    4960      signed int
    5061
    51 funcProto: a typedef for function
     62funcProto: typedef for function
    5263    with parameters
    5364      open array of signed int
     
    5566      signed int
    5667
    57 tupleType: a typedef for tuple of types
     68tupleType: typedef for tuple of types
    5869    signed int
    5970    signed int
    6071
    61 tupleTypePtr: a typedef for pointer to tuple of types
     72tupleTypePtr: typedef for pointer to tuple of types
    6273    signed int
    6374    signed int
    6475
    65 a: a typedef for pointer to signed int
    66 b: a typedef for pointer to signed int
    67 f: a typedef for function
     76a: typedef for pointer to signed int
     77b: typedef for pointer to signed int
     78f: typedef for function
    6879    with parameters
    6980      pointer to signed int
     
    7182      signed int
    7283
    73 g: a typedef for function
     84g: typedef for function
    7485    with parameters
    7586      pointer to signed int
     
    7788      signed int
    7889
    79 t: a typedef for tuple of types
    80     pointer to static open array of signed int
     90t: typedef for tuple of types
     91    pointer to static array of signed int with dimension of constant expression 10 signed int
    8192
    82 f: a typedef for function
     93f: typedef for function
    8394    returning
    84       x: a pointer to static open array of signed int
     95      x: pointer to static array of signed int with dimension of constant expression 10 signed int
    8596
Note: See TracChangeset for help on using the changeset viewer.