Last change
on this file since 082510e was f02f546, checked in by Michael Brooks <mlbrooks@…>, 2 years ago |
Implement new rules for array dimension expression matching.
Core changes:
src/ResolvExpr/Unify.cc: add sense of "these two expressions unify"
src/InitTweak/GenInit.cc: make hoisting happen more often
tests/array-container/*: reconfigure the array-dimension test to use non-"classic" expectation rules
Misc contributors and noise:
libcfa/src/parseargs.cfa: ,ake a parameter, that's used as a length expression, constant (example of an array user following new rules)
src/ResolvExpr/ResolveTypeof.h: make fixArrayType public
src/Validate/GenericParameter.cpp: do the array-type desugaring in both AST corners that forall-variables can be found (not just in one of them)
tests/.expect/typedefRedef-ERR1.txt: old one was "expecting" a bug, that new array rules handle correctly
|
-
Property mode
set to
100644
|
File size:
415 bytes
|
Rev | Line | |
---|
[f02f546] | 1 | array-container/symtab-collision.cfa:25:1 error: conflicting overload of C function collide_me: C const unsigned long int with initializer (maybe constructed)
|
---|
| 2 | Simple Initializer: Generated Cast of:
|
---|
| 3 | Constant Expression (17: signed int)
|
---|
| 4 | ... with resolved type:
|
---|
| 5 | signed int
|
---|
| 6 | ... to:
|
---|
| 7 | const unsigned long int
|
---|
| 8 | ... with resolved type:
|
---|
| 9 | const unsigned long int
|
---|
| 10 | ... with environment:
|
---|
| 11 | Types:
|
---|
| 12 |
|
---|
| 13 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.