Repository navigation
C/C++ calls to functions named def/function/include are callees; re-bless doomsday, gzdoom (Part of #6266, slice 3) - #6767
Merged
Conversation
…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]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
Contributor
Contributor
|
No description provided. |
This was referenced Oct 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #6266 (slice 3 of 5): C and C++ calls to a function named
def,functionorincludeare callees (ENGINE fix, not oracle).What changed
gitgalaxy/core/detector.py: the global calls-out ignore set drops keywords of other languages (def,function,include,require, ...).candcppnow exempt the ones that are not keywords there (def function include require require_once include_once except finally), like rust/go/java (Call graph (Rust/Go): Rust macro invocations linked to a same-named fn, calls inside Rust struct literals / vec![] args missed, Go generic instantiation call missed #5634).catch,class,using,sizeof,tryare still dropped in C++.tests/extraction/languages/test_calls_out_c_family_ordinary_names_6266.py: C and C++ keepdef/function/include; C++ keywords in the same set still dropped.The earlier "oracle
defmisses" label was wrong:Binding::resetToDefaultsreally callsdef()(Definition::def), and the engine dropped it.All 42 other ports: no drift (full
doom_rosetta_check). No port reached 0/0, soexpected_failsis unchanged.Facts checked
defvia_CALLS_OUT_GLOBAL_IGNORE(detector.py); 73 of doomsday's misses had calleedef, plus 4function, 3include.crucible_check.py(both legs): PASS, zero diff.pr_gates --fast9/9,--ratchets9/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):class,using,catch,try,await,importas ignored; no DOOM miss needs them.function_cast(doomsday, 5 misses): a different shape, not in the ignore set.Definition14,String12,RefArg10;LoopResult(80 engine-only on an older scan).foreach/ DE_PIMPL macro-call bodies; gzdoom~FString/~Node; odamexstorage_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