Skip to content
Success

Changes

Summary

  1. 1. Disallow implicit conversion from cfa enum to int during on the function call site; 2. implement the reverse enum loop (details)
  2. remove calls to label() from planet program (details)
  3. Fix the bug that C style enum cannot to use as an lvalue (details)
  4. Allow explict conversion from cfa enum to int (while disallow implicit) (details)
  5. Current enum has bug when use as a reference as in ?++. Change TranslateEnumRange to use succ and pred instead. Will look back into the reference problem (details)
Commit d3aa55e994d9978b6eeed324d12124cd1e92a452 by j82liang
1. Disallow implicit conversion from cfa enum to int during on the function call site; 2. implement the reverse enum loop
The file was modifiedsrc/ResolvExpr/ConversionCost.cpp
The file was modifiedsrc/Parser/parser.yy
The file was modifiedsrc/Parser/StatementNode.cpp
The file was modifiedsrc/ResolvExpr/CandidateFinder.cpp
The file was modifiedsrc/Parser/StatementNode.hpp
The file was modifiedsrc/ControlStruct/TranslateEnumRange.cpp
The file was modifiedsrc/ResolvExpr/CastCost.cpp
The file was modifiedsrc/AST/Stmt.hpp
The file was modifiedsrc/ResolvExpr/Unify.cpp
Commit 62a38e7163533b0703d430f886153d214c2776f6 by Peter Buhr
remove calls to label() from planet program
The file was modifieddoc/theses/jiada_liang_MMath/CFAenum.tex
The file was modifieddoc/theses/jiada_liang_MMath/test2.cfa
Commit 5ccc7336506cd07739e57f3df639075f216ba4fb by j82liang
Fix the bug that C style enum cannot to use as an lvalue
The file was modifiedsrc/Validate/ImplementEnumFunc.cpp
The file was modifiedsrc/ControlStruct/TranslateEnumRange.cpp
The file was modifiedsrc/ResolvExpr/ConversionCost.cpp
The file was modifiedsrc/AST/Decl.hpp
The file was modifiedsrc/ResolvExpr/CastCost.cpp
The file was modifiedsrc/AST/Decl.cpp
The file was modifiedsrc/ResolvExpr/CommonType.cpp
The file was modifiedsrc/Parser/TypeData.cpp
Commit 115ac1ce0d47f2436e81df2b549cc72511998c84 by j82liang
Allow explict conversion from cfa enum to int (while disallow implicit)
The file was modifiedsrc/ResolvExpr/CastCost.cpp
Commit 73d0e3f4e0ab67804cda0bdfa2660e3905620544 by j82liang
Current enum has bug when use as a reference as in ?++. Change TranslateEnumRange to use succ and pred instead. Will look back into the reference problem
The file was modifiedlibcfa/src/enum.hfa
The file was modifiedsrc/ControlStruct/TranslateEnumRange.cpp
The file was modifiedlibcfa/src/enum.cfa