refactor: drive visit() switches from existing X-macro .inc files#1194
Conversation
|
| Scope | Lines Δ% | Lines Δ | Lines + | Lines - | Files Δ | Files + | Files ~ | Files ↔ | Files - |
|---|---|---|---|---|---|---|---|---|---|
| 🛠️ Source | 100% | 80 | 19 | 61 | 3 | - | 3 | - | - |
| Total | 100% | 80 | 19 | 61 | 3 | - | 3 | - | - |
Legend: Files + (added), Files ~ (modified), Files ↔ (renamed), Files - (removed)
🔝 Top Files
- include/mrdocs/Metadata/Type.hpp (Source): 44 lines Δ (+7 / -37)
- include/mrdocs/Metadata/TArg.hpp (Source): 18 lines Δ (+6 / -12)
- include/mrdocs/Metadata/TParam.hpp (Source): 18 lines Δ (+6 / -12)
6bc06db to
a0dcd2b
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #1194 +/- ##
===========================================
- Coverage 79.20% 79.18% -0.02%
===========================================
Files 308 308
Lines 32332 32287 -45
Branches 6493 6484 -9
===========================================
- Hits 25607 25565 -42
+ Misses 4355 4352 -3
Partials 2370 2370
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
An automated preview of the documentation is available at https://1194.mrdocs.prtest2.cppalliance.org/index.html If more commits are pushed to the pull request, the docs will rebuild at the same URL. 2026-05-01 16:09:02 UTC |
The hand-coded `visit()` switches in Type.hpp, TArg.hpp, and TParam.hpp were duplicating the type list already enumerated by their respective *Nodes.inc X-macro files. This rewrites each to consume the .inc file, instead, matching the pattern Symbol.hpp, Name.hpp, Block.hpp, Inline.hpp already use, so the .inc is the single source of truth.
a0dcd2b to
5b2c18c
Compare
The hand-coded
visit()switches in Type.hpp, TArg.hpp, and TParam.hpp were duplicating the type list already enumerated by their respective *Nodes.inc X-macro files. This rewrites each to consume the .inc file, instead, matching the pattern Symbol.hpp, Name.hpp, Block.hpp, Inline.hpp already use, so the .inc is the single source of truth.