source: tests/.expect/alloc-ERROR.txt @ 9a01745

Last change on this file since 9a01745 was b6f2e7ab, checked in by Andrew Beach <ajbeach@…>, 3 months ago

Removed SizeofExpr::expr and AlignofExpr::expr, expressions that would be stored there are wrapped in TypeofType? and stored in the type field. Some special cases to hide the typeof in code generation were added. In addition, initializer length is calculated in more cases so that the full type of more arrays is known sooner. Other than that, most of the code changes were just stripping out the conditional code and checks no longer needed. Some tests had to be updated, because the typeof is not hidden in dumps and the resolver replaces known typeof expressions with the type. The extension case caused some concern but it appears that just hides warnings in the expression which no longer exists.

  • Property mode set to 100644
File size: 960 bytes
Line 
1alloc.cfa:382:1 error: Invalid application of existing declaration(s) in expression Applying untyped:
2  Name: ?=?
3...to:
4  Name: ip
5  Applying untyped:
6    Name: realloc
7  ...to:
8    Name: stp
9    Applying untyped:
10      Name: ?*?
11    ...to:
12      Name: dim
13      Sizeof Expression on: type-of expression Applying untyped:
14          Name: *?
15        ...to:
16          Name: stp
17
18      ... with resolved type:
19        unsigned long int
20
21
22
23alloc.cfa:383:1 error: Invalid application of existing declaration(s) in expression Applying untyped:
24  Name: ?=?
25...to:
26  Name: ip
27  Applying untyped:
28    Name: memset
29  ...to:
30    Name: stp
31    Constant Expression (10: signed int)
32    ... with resolved type:
33      signed int
34
35
36alloc.cfa:384:1 error: Invalid application of existing declaration(s) in expression Applying untyped:
37  Name: ?=?
38...to:
39  Name: ip
40  Applying untyped:
41    Name: memcpy
42  ...to:
43    Address of:
44      Name: st1
45    Address of:
46      Name: st
47
48
Note: See TracBrowser for help on using the repository browser.