Skip to content

PR for llvm/llvm-project#65982 #703

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

Merged
merged 2 commits into from
Sep 27, 2023
Merged

PR for llvm/llvm-project#65982 #703

merged 2 commits into from
Sep 27, 2023

Conversation

llvmbot
Copy link
Member

@llvmbot llvmbot commented Sep 20, 2023

@tru
Copy link
Contributor

tru commented Sep 25, 2023

Seems to be failing tests in SemaCXX/cxx2a-virtual-base-used.cpp? If you don't think that's related to your change, maybe we need to try to rebase this?

@tru
Copy link
Contributor

tru commented Sep 25, 2023

ping @antoniofrighetto

@tru
Copy link
Contributor

tru commented Sep 25, 2023

also cc @AaronBallman @cor3ntin @erichkeene is this good to merge into 17.0.1 when the tests are passing?

@antoniofrighetto
Copy link
Contributor

@tru, we need to backport llvm/llvm-project@c990d94 as well. That solves the failing test.

@tru
Copy link
Contributor

tru commented Sep 25, 2023

@ormris in the original issue run /cherry-pick <sha1> <sha2> to pick multiple commits to backport.

@AaronBallman
Copy link
Contributor

Yeah, I think this is reasonable to backport into 17.0.1 once we have the tests passing.

An assertion issue that arose when handling union member access with
virtual base class has been addressed. As pointed out by @zygoloid,
there is no need for further derived-to-base analysis in this instance,
so we can bail out upon encountering a virtual base class. Minor
refinement on the function name as we might not be handling a union.

Reported-By: ormris

Fixes: llvm/llvm-project#65982
(cherry picked from commit 660876a4019b81b5a7427a3dcec5ce8c39cd1ee0)
(cherry picked from commit c990d9444350ef583c6d53e84d9c10cebbf65532)
@tru
Copy link
Contributor

tru commented Sep 27, 2023

Is this good to go now?

@antoniofrighetto
Copy link
Contributor

@tru, looks good!

@tru tru merged commit 4362f3e into release/17.x Sep 27, 2023
@tru tru deleted the llvm-issue65982 branch September 27, 2023 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[clang] Assertion compiling a varadic template when using C++20, but not C++17
4 participants