Skip to content

Conversation

@aschackmull
Copy link
Contributor

Superseded by java/ql/consistency-queries/SsaConsistency.ql

@aschackmull aschackmull requested a review from a team as a code owner October 27, 2025 11:57
Copilot AI review requested due to automatic review settings October 27, 2025 11:57
@aschackmull aschackmull added the no-change-note-required This PR does not need a change note label Oct 27, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes four obsolete SSA consistency query files that have been superseded by a consolidated consistency query file (java/ql/consistency-queries/SsaConsistency.ql). The removal eliminates redundant validation logic while maintaining SSA consistency checking through the newer, centralized implementation.

Key Changes:

  • Removed four SSA consistency query files that are no longer needed
  • Eliminates duplicate validation logic for SSA variables

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
java/ql/src/meta/ssa/UseWithoutUniqueSsaVariable.ql Removed query checking for variable uses without unique SSA variables
java/ql/src/meta/ssa/UncertainDefWithoutPrior.ql Removed query validating uncertain SSA updates have prior definitions
java/ql/src/meta/ssa/TooFewPhiInputs.ql Removed query ensuring phi nodes have at least two inputs
java/ql/src/meta/ssa/AmbiguousToString.ql Removed query checking for unique toString() on SSA variables

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions github-actions bot added the Java label Oct 27, 2025
hvitved
hvitved previously approved these changes Oct 27, 2025
@aschackmull aschackmull merged commit 31428b2 into github:main Oct 27, 2025
18 checks passed
@aschackmull aschackmull deleted the java/delete-old-ssa-consistency branch October 27, 2025 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Java 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