Skip to content

[clang] Correctly RAII reset two "new" Sema fields [v6.40] - #23786

Open
hahnjo wants to merge 3 commits into
root-project:v6-40-00-patchesfrom
hahnjo:cling-raii-v640
Open

hahnjo wants to merge 3 commits into
root-project:v6-40-00-patchesfrom
hahnjo:cling-raii-v640

Conversation

@hahnjo

@hahnjo hahnjo commented Oct 21, 2026

Copy link
Copy Markdown
Member

Reapply #15004 / #19137 which was lost during the upgrade to LLVM 20.

FYI @ktf

FunctionScopesStart and InventedParameterInfosStart were introduced
by upstream commit
llvm/llvm-project@5c845c1
and are handled in ContextRAII, but not our ContextAndScopeRAII.

(cherry picked from commit b702391
and a226dd4, it was lost (again)
during the upgrade to LLVM 20)
(cherry picked from commit 07021ea
and 8e9e1ae, it was lost (again)
during the upgrade to LLVM 20)
@hahnjo hahnjo added this to the 6.40.06 milestone Oct 21, 2026
@hahnjo
hahnjo requested review from dpiparo and vgvassilev October 21, 2026 12:41
@hahnjo hahnjo self-assigned this Oct 21, 2026
@hahnjo hahnjo added pr:backport in:Cling experiment Affects an experiment / reported by its software & computimng experts labels Oct 21, 2026
@github-actions

Copy link
Copy Markdown

Test Results

    23 files      23 suites   3d 19h 44m 18s ⏱️
 3 874 tests  3 849 ✅ 0 💤  25 ❌
81 099 runs  80 614 ✅ 0 💤 485 ❌

For more details on these failures, see this check.

Results for commit 78e6a04.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

experiment Affects an experiment / reported by its software & computimng experts in:Cling pr:backport

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant