Repository navigation
[6.42] [cppjit] Autoparse names missing from namespaces [ROOT-patch] - #24221
Merged
guitargeek merged 3 commits intoNov 18, 2026
Merged
guitargeek merged 3 commits into
guitargeek merged 3 commits into
Conversation
Enums and variables known only from a rootmap, like the ATLAS xAOD enums and constants, were not found. Rootmaps don't forward declare them, so they only exist once their header is parsed. But interop::GetScope calls TClass::GetClass first, which normalizes the name with autoloading off: TCling can't autoparse it, and clang caches the failed lookup. Later lookups never ask TCling again. The old cppyy checked for enums before calling TClass::GetClass, so it was not affected. If a name is missing from a namespace, ask TCling to autoparse it and look again. Closes root-project#24176. Assisted-by: claude-code:claude-opus-5-5 (cherry picked from commit 619d2bc)
Enums and variables that are only known from a rootmap must be importable from their namespace before their header was parsed. Assisted-by: claude-code:claude-opus-5-5 (cherry picked from commit fcf6b47)
They are not pointing to the ROOT forks. The CppInterOp tag is equivalent to the previous hash. (cherry picked from commit 81438d3)
root-project-bot
requested review from
aaronj0,
bellenot,
dpiparo,
guitargeek and
vgvassilev
as code owners
November 18, 2026 08:10
Test Results 23 files 23 suites 3d 18h 54m 45s ⏱️ Results for commit 0364ffb. |
guitargeek
merged commit Nov 18, 2026
b19a6a5
into
root-project:v6-42-00-patches
46 of 47 checks passed
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.
Backport of #24185, requested by @guitargeek.