Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BP 632] Fix spurrious auto parsing when looking up a TClass #18102

Merged
merged 5 commits into from
Mar 23, 2025

Conversation

dpiparo
Copy link
Member

@dpiparo dpiparo commented Mar 22, 2025

BP of #17994

pcanal added 5 commits March 22, 2025 18:02
At this point, if `cl` was found it was from a simple `FindObject` on the list class
which guarantees that the name is already normalized
If a library was loaded, the alias for a class were also loaded and a non normalized name might lead to a match.
If we skip this check, then the next step will normalized the name and check for typedef inside the name (if
it is a template instance name) and if the name are not found as is, it may lead to loading the header file.

ie. this fixes root-project#17992 and cms-sw/cmssw#47470
@dpiparo dpiparo self-assigned this Mar 22, 2025
@dpiparo dpiparo requested a review from pcanal as a code owner March 22, 2025 17:04
Copy link

github-actions bot commented Mar 22, 2025

Test Results

    10 files      10 suites   2d 5h 7m 22s ⏱️
 2 638 tests  2 638 ✅ 0 💤 0 ❌
24 675 runs  24 675 ✅ 0 💤 0 ❌

Results for commit 8a874f7.

♻️ This comment has been updated with latest results.

@dpiparo dpiparo merged commit dc57b75 into root-project:v6-32-00-patches Mar 23, 2025
30 of 46 checks passed
@dpiparo dpiparo deleted the spurrious_ap_bp632 branch March 23, 2025 06:50
smuzaffar added a commit to cms-sw/cmsdist that referenced this pull request Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants