refactor: refactor enum helper as flag enum.

- refactor enum helper.
- add testbench for it.
This commit is contained in:
2025-08-04 22:31:37 +08:00
parent 54134b342e
commit b9f81c16a0
4 changed files with 274 additions and 0 deletions

View File

@ -5,6 +5,7 @@ target_sources(YYCCTestbench
PRIVATE
main.cpp
yycc/macro/version_cmp.cpp
yycc/flag_enum.cpp
yycc/constraint.cpp
yycc/constraint/builder.cpp
yycc/string/op.cpp