Skip to content
Success

Changes

Summary

  1. Handle typedef wrapped declarations before buildList in addTypedef. The extractAggregate code is still used in other cases. There is a small change in behaviour, a typedef wrapping a enum declaration will have the qualifiers on its local copy cleared. This may be the intended behaviour, it is how all other aggregates are handled. (details)
  2. fix convert function for float-point values, add isspace-like routines for C arrays (details)
  3. update string to type test (details)
  4. update ato expected output for ARM (details)
  5. update ato expected output for x86 (details)
  6. reorganized enum_type rule in parser and add missing call to makeTypedef (details)
  7. more reorganized enum_type rule in parser (details)
  8. remove isspace-like routines for C arrays, and replace with general checkif routine (details)
Commit 2583407f072cd387664af9ce2f5e73d4e123318f by ajbeach
Handle typedef wrapped declarations before buildList in addTypedef. The extractAggregate code is still used in other cases. There is a small change in behaviour, a typedef wrapping a enum declaration will have the qualifiers on its local copy cleared. This may be the intended behaviour, it is how all other aggregates are handled.
The file was modifiedsrc/Parser/DeclarationNode.cc
Commit 54af365fe21768cc290024aaeb88d8cbf7f0563f by Peter Buhr
fix convert function for float-point values, add isspace-like routines for C arrays
The file was modifiedlibcfa/src/stdlib.cfa
The file was modifiedlibcfa/src/stdlib.hfa
Commit 33807a1e20dcbc7c79d106d70aa227b7a7444893 by Peter Buhr
update string to type test
The file was modifiedtests/ato.cfa
The file was modifiedtests/.expect/ato.x64.txt
Commit 897eb01f291079db41d3cb3bcdcedfd1f52364e4 by Peter Buhr
update ato expected output for ARM
The file was modifiedtests/.expect/ato.arm64.txt
Commit d887800020c7537da126067340e5c00359181610 by Peter Buhr
update ato expected output for x86
The file was modifiedtests/.expect/ato.x86.txt
Commit 30aab5564551a60cbfd145289768c6d956d2495c by Peter Buhr
reorganized enum_type rule in parser and add missing call to makeTypedef
The file was modifiedsrc/Parser/parser.yy
Commit 42422fb9594b70889b5d93752577487bda92a2e7 by Peter Buhr
more reorganized enum_type rule in parser
The file was modifiedsrc/Parser/parser.yy
Commit 8f650f03fa027cdd821777209b296cf34ae687da by Peter Buhr
remove isspace-like routines for C arrays, and replace with general checkif routine
The file was modifiedlibcfa/src/stdlib.cfa
The file was modifiedlibcfa/src/stdlib.hfa