Skip to content

C++: Remove unnecessary predicates #13920

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
Aug 8, 2023
Merged

Conversation

MathiasVP
Copy link
Contributor

@MathiasVP MathiasVP commented Aug 8, 2023

The predicates indirectReturnOutNodeOperand0 and indirectReturnOutNodeInstruction0 were restricted to raw operand and instruction nodes for some reason 🤔, and this restriction was breaking some dataflow tests in my upcoming change to fix dataflow after our frontend upgrade.

It turns out these predicates totally aren't needed 🎉.

…ction0`

were broken and for some reason only handled the case where calls mapped
to raw indirect nodes :wat:. It turns out these predicates weren't
actually needed anyway.
@MathiasVP MathiasVP requested a review from a team as a code owner August 8, 2023 14:35
@github-actions github-actions bot added the C++ label Aug 8, 2023
@MathiasVP MathiasVP added the no-change-note-required This PR does not need a change note label Aug 8, 2023
@jketema
Copy link
Contributor

jketema commented Aug 8, 2023

We seem to have some broken tests.

@MathiasVP
Copy link
Contributor Author

We seem to have some broken tests.

Thanks for the heads up. Looks like two tests that I just need to accept in the internal repo. I'll open a PR for that right away.

@MathiasVP MathiasVP added the depends on internal PR This PR should only be merged in sync with an internal Semmle PR label Aug 8, 2023
Copy link
Contributor

@jketema jketema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy if DCA is happy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ depends on internal PR This PR should only be merged in sync with an internal Semmle PR no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants