Ignore:
Timestamp:
Jun 26, 2015, 4:00:26 PM (11 years ago)
Author:
Aaron Moss <a3moss@…>
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:
0df292b, e0ff3e6
Parents:
eb50842 (diff), 1869adf (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 pointer to pointer to qualified fix into master

File:
1 moved

Legend:

Unmodified
Added
Removed
  • src/Tests/Expect-a/Functions.txt

    reb50842 r937e51d  
    1 h: a function
     1h: function
    22    with parameters
    33      void
     
    55      void
    66    with body
    7 
    8 f: a function
     7      CompoundStmt
     8
     9f: function
    910    with parameters
    1011      function
     
    3233            signed int
    3334
    34       g: a function
     35      g: function
    3536          with parameters
    3637            void
     
    4142      signed int
    4243    with body
    43 
    44 f1: a function
    45     returning
    46       signed int
    47     with body
    48 
    49 f2: a function
    50     returning
    51       signed int
    52     with body
    53 
    54 f3: a function
     44      CompoundStmt
     45                  Expression Statement:
     46            Applying untyped:
     47                Applying untyped:
     48                    Name: *?
     49                ...to:
     50                    Name: g
     51            ...to:
     52
     53                  Expression Statement:
     54            Applying untyped:
     55                Name: g
     56            ...to:
     57
     58                  Expression Statement:
     59            Applying untyped:
     60                Name: ?=?
     61            ...to:
     62                Address of:
     63                  Name: g
     64                Name: h
     65
     66
     67f1: function
     68      accepting unspecified arguments
     69    returning
     70      signed int
     71    with body
     72      CompoundStmt
     73
     74f2: function
     75      accepting unspecified arguments
     76    returning
     77      signed int
     78    with body
     79      CompoundStmt
     80
     81f3: function
     82      accepting unspecified arguments
    5583    returning
    5684      pointer to function
    57           returning
    58             signed int
    59 
    60     with body
    61 
    62 f4: a function
     85            accepting unspecified arguments
     86          returning
     87            signed int
     88
     89    with body
     90      CompoundStmt
     91
     92f4: function
     93      accepting unspecified arguments
    6394    returning
    6495      pointer to signed int
    6596    with body
    66 
    67 f5: a function
     97      CompoundStmt
     98
     99f5: function
     100      accepting unspecified arguments
    68101    returning
    69102      pointer to function
    70           returning
    71             signed int
    72 
    73     with body
    74 
    75 f6: a function
     103            accepting unspecified arguments
     104          returning
     105            signed int
     106
     107    with body
     108      CompoundStmt
     109
     110f6: function
     111      accepting unspecified arguments
    76112    returning
    77113      pointer to signed int
    78114    with body
    79 
    80 f7: a function
     115      CompoundStmt
     116
     117f7: function
     118      accepting unspecified arguments
    81119    returning
    82120      pointer to signed int
    83121    with body
    84 
    85 f8: a function
     122      CompoundStmt
     123
     124f8: function
     125      accepting unspecified arguments
    86126    returning
    87127      pointer to pointer to signed int
    88128    with body
    89 
    90 f9: a function
     129      CompoundStmt
     130
     131f9: function
     132      accepting unspecified arguments
    91133    returning
    92134      pointer to const pointer to signed int
    93135    with body
    94 
    95 f10: a function
     136      CompoundStmt
     137
     138f10: function
     139      accepting unspecified arguments
    96140    returning
    97141      pointer to open array of signed int
    98142    with body
    99 
    100 f11: a function
    101     returning
    102       pointer to open array of open array of signed int
    103     with body
    104 
    105 f12: a function
    106     returning
    107       pointer to open array of open array of signed int
    108     with body
    109 
    110 fII1: a function
    111     with parameters
    112       i: a signed int
    113     returning
    114       signed int
    115     with body
    116 
    117 fII2: a function
    118     with parameters
    119       i: a signed int
     143      CompoundStmt
     144
     145f11: function
     146      accepting unspecified arguments
     147    returning
     148      pointer to open array of array of signed int with dimension of constant expression 3 signed int
     149    with body
     150      CompoundStmt
     151
     152f12: function
     153      accepting unspecified arguments
     154    returning
     155      pointer to open array of array of signed int with dimension of constant expression 3 signed int
     156    with body
     157      CompoundStmt
     158
     159fII1: function
     160    with parameters
     161      i: signed int
     162    returning
     163      signed int
     164    with body
     165      CompoundStmt
     166
     167fII2: function
     168    with parameters
     169      i: signed int
    120170    returning
    121171      const signed int
    122172    with body
    123 
    124 fII3: a extern function
    125     with parameters
    126       i: a signed int
    127     returning
    128       signed int
    129     with body
    130 
    131 fII4: a extern function
    132     with parameters
    133       i: a signed int
     173      CompoundStmt
     174
     175fII3: extern function
     176    with parameters
     177      i: signed int
     178    returning
     179      signed int
     180    with body
     181      CompoundStmt
     182
     183fII4: extern function
     184    with parameters
     185      i: signed int
    134186    returning
    135187      const signed int
    136188    with body
    137 
    138 fII5: a function
     189      CompoundStmt
     190
     191fII5: function
     192      accepting unspecified arguments
    139193    returning
    140194      pointer to signed int
    141195    with body
    142 
    143 fII6: a function
     196      CompoundStmt
     197
     198fII6: function
     199      accepting unspecified arguments
    144200    returning
    145201      const pointer to signed int
    146202    with body
    147 
    148 fII7: a function
     203      CompoundStmt
     204
     205fII7: function
     206      accepting unspecified arguments
    149207    returning
    150208      pointer to const long signed int
    151209    with body
    152 
    153 fII8: a static function
     210      CompoundStmt
     211
     212fII8: static function
     213      accepting unspecified arguments
    154214    returning
    155215      pointer to const long signed int
    156216    with body
    157 
    158 fII9: a static function
     217      CompoundStmt
     218
     219fII9: static function
     220      accepting unspecified arguments
    159221    returning
    160222      pointer to const long signed int
    161223    with body
    162 
    163 fO1: a function
     224      CompoundStmt
     225
     226fO1: function
     227      accepting unspecified arguments
    164228    returning
    165229      signed int
     
    167231      i
    168232    with parameter declarations
    169       i: a signed int
    170     with body
    171 
    172 fO2: a function
     233      i: signed int
     234    with body
     235      CompoundStmt
     236
     237fO2: function
     238      accepting unspecified arguments
    173239    returning
    174240      signed int
     
    176242      i
    177243    with parameter declarations
    178       i: a signed int
    179     with body
    180 
    181 fO3: a function
     244      i: signed int
     245    with body
     246      CompoundStmt
     247
     248fO3: function
     249      accepting unspecified arguments
    182250    returning
    183251      const signed int
     
    185253      i
    186254    with parameter declarations
    187       i: a signed int
    188     with body
    189 
    190 fO4: a extern function
     255      i: signed int
     256    with body
     257      CompoundStmt
     258
     259fO4: extern function
     260      accepting unspecified arguments
    191261    returning
    192262      signed int
     
    194264      i
    195265    with parameter declarations
    196       i: a signed int
    197     with body
    198 
    199 fO5: a extern function
     266      i: signed int
     267    with body
     268      CompoundStmt
     269
     270fO5: extern function
     271      accepting unspecified arguments
    200272    returning
    201273      const signed int
     
    203275      i
    204276    with parameter declarations
    205       i: a signed int
    206     with body
    207 
    208 f: a function
    209     returning
    210       nothing
    211 
    212 f: a function
    213     returning
    214       signed int
    215 
    216 f: a function
    217     with parameters
    218       signed int
    219     returning
    220       nothing
    221 
    222 f: a function
    223     with parameters
    224       signed int
    225     returning
    226       signed int
    227 
    228 f: a function
    229     returning
    230       nothing
    231     with body
    232 
    233 f: a function
    234     returning
    235       signed int
    236     with body
    237 
    238 f: a function
    239     with parameters
    240       signed int
    241     returning
    242       nothing
    243     with body
    244 
    245 f: a function
    246     with parameters
    247       signed int
    248     returning
    249       signed int
    250     with body
    251 
    252 f: a function
    253     returning
    254       x: a signed int
    255 
    256 f: a function
    257     with parameters
    258       x: a signed int
    259     returning
    260       nothing
    261 
    262 f: a function
    263     with parameters
    264       x: a signed int
    265     returning
    266       x: a signed int
    267 
    268 f: a function
    269     returning
    270       x: a signed int
    271     with body
    272 
    273 f: a function
    274     with parameters
    275       x: a signed int
    276     returning
    277       nothing
    278     with body
    279 
    280 f: a function
    281     with parameters
    282       x: a signed int
    283     returning
    284       x: a signed int
    285     with body
    286 
    287 f: a function
    288     returning
    289       signed int
    290       x: a signed int
    291 
    292 f: a function
    293     with parameters
    294       signed int
    295       x: a signed int
    296     returning
    297       nothing
    298 
    299 f: a function
    300     with parameters
    301       signed int
    302       x: a signed int
    303     returning
    304       signed int
    305       x: a signed int
    306 
    307 f: a function
    308     returning
    309       signed int
    310       x: a signed int
    311     with body
    312 
    313 f: a function
    314     with parameters
    315       signed int
    316       x: a signed int
    317     returning
    318       nothing
    319     with body
    320 
    321 f: a function
    322     with parameters
    323       signed int
    324       x: a signed int
    325     returning
    326       signed int
    327       x: a signed int
    328     with body
    329 
    330 f: a function
    331     returning
    332       signed int
    333       x: a signed int
    334       signed int
    335 
    336 f: a function
    337     with parameters
    338       signed int
    339       x: a signed int
    340       signed int
    341     returning
    342       nothing
    343 
    344 f: a function
    345     with parameters
    346       signed int
    347       x: a signed int
    348       signed int
    349     returning
    350       signed int
    351       x: a signed int
    352       signed int
    353 
    354 f: a function
    355     returning
    356       signed int
    357       x: a signed int
    358       signed int
    359     with body
    360 
    361 f: a function
    362     with parameters
    363       signed int
    364       x: a signed int
    365       signed int
    366     returning
    367       nothing
    368     with body
    369 
    370 f: a function
    371     with parameters
    372       signed int
    373       x: a signed int
    374       signed int
    375     returning
    376       signed int
    377       x: a signed int
    378       signed int
    379     with body
    380 
    381 f: a function
    382     returning
    383       signed int
    384       x: a signed int
    385       y: a pointer to signed int
    386 
    387 f: a function
    388     with parameters
    389       signed int
    390       x: a signed int
    391       y: a pointer to signed int
    392     returning
    393       nothing
    394 
    395 f: a function
    396     with parameters
    397       signed int
    398       x: a signed int
    399       y: a pointer to signed int
    400     returning
    401       signed int
    402       x: a signed int
    403       y: a pointer to signed int
    404 
    405 f: a function
    406     returning
    407       signed int
    408       x: a signed int
    409       y: a pointer to signed int
    410     with body
    411 
    412 f: a function
    413     with parameters
    414       signed int
    415       x: a signed int
    416       y: a pointer to signed int
    417     returning
    418       nothing
    419     with body
    420 
    421 f: a function
    422     with parameters
    423       signed int
    424       x: a signed int
    425       y: a pointer to signed int
    426     returning
    427       signed int
    428       x: a signed int
    429       y: a pointer to signed int
    430     with body
    431 
    432 f11: a function
    433     with parameters
    434       signed int
    435     returning
    436       signed int
    437 
    438 f12: a function
    439     with parameters
    440       signed int
    441     returning
    442       signed int
    443 
    444 f: a function
     277      i: signed int
     278    with body
     279      CompoundStmt
     280
     281f: function
     282    returning
     283      nothing
     284
     285f: function
     286    returning
     287      signed int
     288
     289f: function
     290    with parameters
     291      signed int
     292    returning
     293      nothing
     294
     295f: function
     296    with parameters
     297      signed int
     298    returning
     299      signed int
     300
     301f: function
     302    returning
     303      nothing
     304    with body
     305      CompoundStmt
     306
     307f: function
     308    returning
     309      signed int
     310    with body
     311      CompoundStmt
     312
     313f: function
     314    with parameters
     315      signed int
     316    returning
     317      nothing
     318    with body
     319      CompoundStmt
     320
     321f: function
     322    with parameters
     323      signed int
     324    returning
     325      signed int
     326    with body
     327      CompoundStmt
     328
     329f: function
     330    returning
     331      x: signed int
     332
     333f: function
     334    with parameters
     335      x: signed int
     336    returning
     337      nothing
     338
     339f: function
     340    with parameters
     341      x: signed int
     342    returning
     343      x: signed int
     344
     345f: function
     346    returning
     347      x: signed int
     348    with body
     349      CompoundStmt
     350
     351f: function
     352    with parameters
     353      x: signed int
     354    returning
     355      nothing
     356    with body
     357      CompoundStmt
     358
     359f: function
     360    with parameters
     361      x: signed int
     362    returning
     363      x: signed int
     364    with body
     365      CompoundStmt
     366
     367f: function
     368    returning
     369      signed int
     370      x: signed int
     371
     372f: function
     373    with parameters
     374      signed int
     375      x: signed int
     376    returning
     377      nothing
     378
     379f: function
     380    with parameters
     381      signed int
     382      x: signed int
     383    returning
     384      signed int
     385      x: signed int
     386
     387f: function
     388    returning
     389      signed int
     390      x: signed int
     391    with body
     392      CompoundStmt
     393
     394f: function
     395    with parameters
     396      signed int
     397      x: signed int
     398    returning
     399      nothing
     400    with body
     401      CompoundStmt
     402
     403f: function
     404    with parameters
     405      signed int
     406      x: signed int
     407    returning
     408      signed int
     409      x: signed int
     410    with body
     411      CompoundStmt
     412
     413f: function
     414    returning
     415      signed int
     416      x: signed int
     417      signed int
     418
     419f: function
     420    with parameters
     421      signed int
     422      x: signed int
     423      signed int
     424    returning
     425      nothing
     426
     427f: function
     428    with parameters
     429      signed int
     430      x: signed int
     431      signed int
     432    returning
     433      signed int
     434      x: signed int
     435      signed int
     436
     437f: function
     438    returning
     439      signed int
     440      x: signed int
     441      signed int
     442    with body
     443      CompoundStmt
     444
     445f: function
     446    with parameters
     447      signed int
     448      x: signed int
     449      signed int
     450    returning
     451      nothing
     452    with body
     453      CompoundStmt
     454
     455f: function
     456    with parameters
     457      signed int
     458      x: signed int
     459      signed int
     460    returning
     461      signed int
     462      x: signed int
     463      signed int
     464    with body
     465      CompoundStmt
     466
     467f: function
     468    returning
     469      signed int
     470      x: signed int
     471      y: pointer to signed int
     472
     473f: function
     474    with parameters
     475      signed int
     476      x: signed int
     477      y: pointer to signed int
     478    returning
     479      nothing
     480
     481f: function
     482    with parameters
     483      signed int
     484      x: signed int
     485      y: pointer to signed int
     486    returning
     487      signed int
     488      x: signed int
     489      y: pointer to signed int
     490
     491f: function
     492    returning
     493      signed int
     494      x: signed int
     495      y: pointer to signed int
     496    with body
     497      CompoundStmt
     498
     499f: function
     500    with parameters
     501      signed int
     502      x: signed int
     503      y: pointer to signed int
     504    returning
     505      nothing
     506    with body
     507      CompoundStmt
     508
     509f: function
     510    with parameters
     511      signed int
     512      x: signed int
     513      y: pointer to signed int
     514    returning
     515      signed int
     516      x: signed int
     517      y: pointer to signed int
     518    with body
     519      CompoundStmt
     520
     521f11: function
     522    with parameters
     523      signed int
     524    returning
     525      signed int
     526
     527f12: function
     528    with parameters
     529      signed int
     530    returning
     531      signed int
     532
     533f: function
    445534    with parameters
    446535      function
    447536          with parameters
    448537            signed int
    449             p: a signed int
     538            p: signed int
    450539          returning
    451540            signed int
     
    460549      signed int
    461550    with body
    462       Declaration of p: a pointer to open array of open array of pointer to open array of open array of signed int
    463       Declaration of p: a pointer to open array of open array of pointer to open array of open array of signed int
    464       Declaration of p: a pointer to open array of pointer to function
    465           with parameters
    466             signed int
    467           returning
    468             signed int
    469 
    470 
    471 f1: a static function
     551      CompoundStmt
     552        Declaration of p: pointer to open array of array of pointer to open array of array of signed int with dimension of constant expression 3 signed int with dimension of constant expression 10 signed int
     553        Declaration of p: pointer to open array of array of pointer to open array of array of signed int with dimension of constant expression 3 signed int with dimension of constant expression 10 signed int
     554        Declaration of p: pointer to open array of pointer to function
     555            with parameters
     556              signed int
     557            returning
     558              signed int
     559
     560
     561f1: static function
     562      accepting unspecified arguments
    472563    returning
    473564      pointer to const signed int
    474565    with body
    475 
    476 f2: a static function
     566      CompoundStmt
     567
     568f2: static function
    477569    returning
    478570      const signed int
    479571    with body
    480 
    481 f3: a inline static function
     572      CompoundStmt
     573
     574f3: inline static function
    482575    returning
    483576      const pointer to signed int
    484577    with body
    485 
    486 f4: a inline static function
     578      CompoundStmt
     579
     580f4: inline static function
    487581    returning
    488582      const tuple of types
     
    491585
    492586    with body
    493 
    494 f5: a static function
     587      CompoundStmt
     588
     589f5: static function
    495590    returning
    496591      const tuple of types
     
    499594
    500595    with body
    501 
    502 f: a function
    503     with parameters
    504       function
    505           returning
    506             signed int
    507 
    508       function
     596      CompoundStmt
     597
     598f: function
     599    with parameters
     600      function
     601            accepting unspecified arguments
     602          returning
     603            signed int
     604
     605      function
     606            accepting unspecified arguments
    509607          returning
    510608            pointer to signed int
    511609
    512610      function
     611            accepting unspecified arguments
    513612          returning
    514613            pointer to pointer to signed int
    515614
    516615      function
     616            accepting unspecified arguments
    517617          returning
    518618            pointer to const pointer to signed int
    519619
    520620      function
     621            accepting unspecified arguments
    521622          returning
    522623            const pointer to const pointer to signed int
    523624
    524625      open array of signed int
     626      array of signed int with dimension of constant expression 10 signed int
     627      open array of pointer to signed int
     628      array of pointer to signed int with dimension of constant expression 10 signed int
     629      open array of pointer to pointer to signed int
     630      array of pointer to pointer to signed int with dimension of constant expression 10 signed int
     631      open array of pointer to const pointer to signed int
     632      array of pointer to const pointer to signed int with dimension of constant expression 10 signed int
     633      open array of const pointer to const pointer to signed int
     634      array of const pointer to const pointer to signed int with dimension of constant expression 10 signed int
     635    returning
     636      signed int
     637
     638f: function
     639    with parameters
     640      function
     641            accepting unspecified arguments
     642          returning
     643            signed int
     644
     645      function
     646            accepting unspecified arguments
     647          returning
     648            pointer to signed int
     649
     650      function
     651            accepting unspecified arguments
     652          returning
     653            pointer to pointer to signed int
     654
     655      function
     656            accepting unspecified arguments
     657          returning
     658            pointer to const pointer to signed int
     659
     660      function
     661            accepting unspecified arguments
     662          returning
     663            const pointer to const pointer to signed int
     664
    525665      open array of signed int
     666      array of signed int with dimension of constant expression 10 signed int
    526667      open array of pointer to signed int
    527       open array of pointer to signed int
     668      array of pointer to signed int with dimension of constant expression 10 signed int
    528669      open array of pointer to pointer to signed int
    529       open array of pointer to pointer to signed int
     670      array of pointer to pointer to signed int with dimension of constant expression 10 signed int
    530671      open array of pointer to const pointer to signed int
    531       open array of pointer to const pointer to signed int
     672      array of pointer to const pointer to signed int with dimension of constant expression 10 signed int
    532673      open array of const pointer to const pointer to signed int
    533       open array of const pointer to const pointer to signed int
    534     returning
    535       signed int
    536 
    537 f: a function
    538     with parameters
    539       function
    540           returning
    541             signed int
    542 
    543       function
    544           returning
    545             pointer to signed int
    546 
    547       function
    548           returning
    549             pointer to pointer to signed int
    550 
    551       function
    552           returning
    553             pointer to const pointer to signed int
    554 
    555       function
    556           returning
    557             const pointer to const pointer to signed int
    558 
    559       open array of signed int
    560       open array of signed int
    561       open array of pointer to signed int
    562       open array of pointer to signed int
    563       open array of pointer to pointer to signed int
    564       open array of pointer to pointer to signed int
    565       open array of pointer to const pointer to signed int
    566       open array of pointer to const pointer to signed int
    567       open array of const pointer to const pointer to signed int
    568       open array of const pointer to const pointer to signed int
    569     returning
    570       signed int
    571     with body
    572 
    573 T: a typedef for signed int
    574 f: a function
    575     with parameters
    576       function
    577           with parameters
    578             instance of type T
    579           returning
    580             instance of type T
    581 
    582       T: a instance of type T
    583     returning
    584       signed int
    585     with body
    586 
     674      array of const pointer to const pointer to signed int with dimension of constant expression 10 signed int
     675    returning
     676      signed int
     677    with body
     678      CompoundStmt
     679
     680T: typedef for signed int
     681f: function
     682    with parameters
     683      f: pointer to instance of type T (not function type)
     684      t: instance of type T (not function type)
     685    returning
     686      signed int
     687    with body
     688      CompoundStmt
     689        Declaration of T: instance of type T (not function type)
     690
Note: See TracChangeset for help on using the changeset viewer.