Skip to content

C/C++ calls to functions named def/function/include are callees; re-bless doomsday, gzdoom (Part of #6266, slice 3) - #6767

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6266-20261027T0542Z
Oct 27, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6266-20261027T0542Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6266 (slice 3 of 5): C and C++ calls to a function named def, function or include are callees (ENGINE fix, not oracle).

What changed

The earlier "oracle def misses" label was wrong: Binding::resetToDefaults really calls def() (Definition::def), and the engine dropped it.

port callgraph_misses before after
doomsday 139 59
gzdoom 11 10

All 42 other ports: no drift (full doom_rosetta_check). No port reached 0/0, so expected_fails is unchanged.

Facts checked

  • Engine at HEAD drops def via _CALLS_OUT_GLOBAL_IGNORE (detector.py); 73 of doomsday's misses had callee def, plus 4 function, 3 include.
  • crucible_check.py (both legs): PASS, zero diff. pr_gates --fast 9/9, --ratchets 9/9 (none skipped).

Class / Sibling gaps

Class: engine keyword-ignore words that are ordinary identifiers in C/C++ (the #5634 family). Members handled: def, function, include, require, require_once, include_once, except, finally. Sibling gaps (no burned-estate program needs any; DOOM ports are not mainframe estates):

  • C (not C++) also keeps class, using, catch, try, await, import as ignored; no DOOM miss needs them.
  • Callee function_cast (doomsday, 5 misses): a different shape, not in the ignore set.
  • Engine type-name callees: Definition 14, String 12, RefArg 10; LoopResult (80 engine-only on an older scan).
  • foreach / DE_PIMPL macro-call bodies; gzdoom ~FString / ~Node; odamex storage_t_impl, is_positive, data; helion C# interpolated-string holes (59); Base{i} brace-init heads.

Remaining slices

Slices 4-5 of #6266: type-name callees, macro-call bodies (and the siblings above).

Checklist: partial [c:9e7fe6a3] -- type-name callees, macro-call bodies, helion and the other siblings remain

🤖 Generated with Claude Code

…less doomsday, gzdoom (Part of #6266)

The global calls-out ignore set dropped keywords of other languages; c and cpp now exempt them like rust/go/java.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 27, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 27, 2026 06:26
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 27, 2026 06:26
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 27, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit 6ce1b24 into main Oct 27, 2026
123 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6266-20261027T0542Z branch October 27, 2026 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant