3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-09-30 05:09:02 +00:00
z3/src/ast/converters
LeeYoungJoon 0a93ff515d
Centralize and document TRACE tags using X-macros (#7657)
* Introduce X-macro-based trace tag definition
- Created trace_tags.def to centralize TRACE tag definitions
- Each tag includes a symbolic name and description
- Set up enum class TraceTag for type-safe usage in TRACE macros

* Add script to generate Markdown documentation from trace_tags.def
- Python script parses trace_tags.def and outputs trace_tags.md

* Refactor TRACE_NEW to prepend TraceTag and pass enum to is_trace_enabled

* trace: improve trace tag handling system with hierarchical tagging

- Introduce hierarchical tag-class structure: enabling a tag class activates all child tags
- Unify TRACE, STRACE, SCTRACE, and CTRACE under enum TraceTag
- Implement initial version of trace_tag.def using X(tag, tag_class, description)
  (class names and descriptions to be refined in a future update)

* trace: replace all string-based TRACE tags with enum TraceTag
- Migrated all TRACE, STRACE, SCTRACE, and CTRACE macros to use enum TraceTag values instead of raw string literals

* trace : add cstring header

* trace : Add Markdown documentation generation from trace_tags.def via mk_api_doc.py

* trace : rename macro parameter 'class' to 'tag_class' and remove Unicode comment in trace_tags.h.

* trace : Add TODO comment for future implementation of tag_class activation

* trace : Disable code related to tag_class until implementation is ready (#7663).
2025-05-28 14:31:25 +01:00
..
CMakeLists.txt wip - updated version of elim_uncstr_tactic 2022-11-12 17:56:45 -08:00
converter.h move model and proof converters to self-contained module 2022-11-03 05:23:01 -07:00
equiv_proof_converter.cpp Centralize and document TRACE tags using X-macros (#7657) 2025-05-28 14:31:25 +01:00
equiv_proof_converter.h move more converters 2022-11-03 20:18:21 -07:00
expr_inverter.cpp updates to some_string_in_re per code review comments 2025-01-11 17:47:27 -08:00
expr_inverter.h remove passing proof parameter to expr-inverter 2023-01-25 11:15:09 -08:00
generic_model_converter.cpp Centralize and document TRACE tags using X-macros (#7657) 2025-05-28 14:31:25 +01:00
generic_model_converter.h updated handling of value initialization for bit-vectors 2024-09-22 21:30:11 +03:00
horn_subsume_model_converter.cpp Centralize and document TRACE tags using X-macros (#7657) 2025-05-28 14:31:25 +01:00
horn_subsume_model_converter.h move horn_subsume_model_converter to ast/converters 2022-11-03 20:26:02 -07:00
model_converter.cpp updated handling of value initialization for bit-vectors 2024-09-22 21:30:11 +03:00
model_converter.h delete more default constructors 2024-09-23 12:59:04 +01:00
proof_converter.cpp move model and proof converters to self-contained module 2022-11-03 05:23:01 -07:00
proof_converter.h move model and proof converters to self-contained module 2022-11-03 05:23:01 -07:00
replace_proof_converter.cpp Centralize and document TRACE tags using X-macros (#7657) 2025-05-28 14:31:25 +01:00
replace_proof_converter.h move more converters 2022-11-03 20:18:21 -07:00