Repository navigation
DOOM callgraph: export-macro class_start and nested-qualified ctor owner (Part of #6266) - #6753
Conversation
…ss (Part of #6266) class LIBGUI_PUBLIC ImageItem was the class LIBGUI_PUBLIC, so a constructor's base initializer found no class and the resolver pruned the real edge (doomsday ctor-init misses 92). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…innermost scope; baseline regenerated (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #6753 @ 7c6c01d: 1 failed check(s) == shard 1 (1669449 LOC) (failure) -- real |
…init + #6753) (Part of #5630) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…hole body (Part of #5630) (#6754) * C++ constructor with a brace-init in its initializer list keeps its whole body (Part of #5630) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Re-bless goldens: cpp constructor with a brace-init initializer keeps its body (powertoys FancyZones.cpp) (Part of #5630) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM callgraph baseline: regenerate at the ctor brace-init fix (doomsday recall .9887 -> .9906) (Part of #5630) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * ruff format cpp.py (Part of #5630) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM callgraph baseline: regenerate at the merged engine (ctor brace-init + #6753) (Part of #5630) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]>
… macro class as a class (Part of #5630) (#6755) * C++ constructor with a brace-init in its initializer list keeps its whole body (Part of #5630) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Re-bless goldens: cpp constructor with a brace-init initializer keeps its body (powertoys FancyZones.cpp) (Part of #5630) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM callgraph baseline: regenerate at the ctor brace-init fix (doomsday recall .9887 -> .9906) (Part of #5630) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * ruff format cpp.py (Part of #5630) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM callgraph baseline: regenerate at the merged engine (ctor brace-init + #6753) (Part of #5630) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * C++ macro class head: chain starts at the first macro, base-list entry is not a function; oracle reads a macro class as a class (Part of #5630) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM callgraph baseline: regenerate at the macro-class head engine (Part of #5630) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM callgraph baseline: regenerate after merging main (Part of #5630) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]>
… name; sqldoom callgraph passes; re-bless doomsday (Part of #6266) (#6759) Mode D's Anonymous_Block name lookback walked back to the previous non-empty line, which for `if ! up; then` below `up() { psql ...; }` (#5640 one-liner) recovered `up` and anchored a second `up` unit over the whole `if` block. A shell one-liner is now a stop in that lookback. sqldoom: 543 -> 542 functions, callgraph engine-only 1 -> 0, drops `callgraph` from expected_fails. doomsday: golden was stale since #6753 (engine-only 480 -> 234). Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Part of #6266 (DOOM-rosetta check 7: call-graph failing ports).
What this does
Two shapes behind doomsday's
ctor-initcall-graph misses, one engine-side, one oracle-side.class_startexport macro.class LIBGUI_PUBLIC ImageItem : ItemcapturedLIBGUI_PUBLICas the class name, so constructor base-initializer edges (ActionItem -> ImageItem) never resolved.class_startnow steps over an ALL-CAPS word that a second identifier (notfinal) follows. Test:tests/extraction/languages/test_cpp_qualified_class_start.py(new cases plus an end-to-end edge test).A::B::Bas nestedqualified_identifier;_ownertook the outer scope, soDialog::ButtonItem::ButtonItemwas owned byDialog. It now takes the innermost scope. Test:tests/tools/test_callgraph_oracle.py.Evidence
ctor-initmisses 92 -> 5; recall 0.9887 -> 0.9899, precision 0.9652 -> 0.9653.callgraph_baseline.json).pr_gates --fast9/9,--ratchets9/9 (0 skipped); guard tests and the changed test files pass.Class / Sibling gaps
Class: a C++ class name or constructor owner misread because of a macro or qualification shape the regex/oracle did not model. Members fixed here: export-macro
class_start, nested-qualified ctor owner. Sibling gaps still open in the callgraph analysis:LoopResult, typedef Base (Impl -> Base),DE_FOR_EACH_CONST, residualImpl -> type,ClientApp,DE_OBSERVES. No port is at 0/0 yet.Remaining slices
The sibling gaps above, one PR each as the next slices.
Checklist: partial [c:9e7fe6a3] -- the sibling-gap shapes listed above are not yet fixed; no port at 0/0
🤖 Generated with Claude Code