-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Ssa: Deprecate the public DefinitionExt and PhiReadNode #19160
Ssa: Deprecate the public DefinitionExt and PhiReadNode #19160
Conversation
bc49797
to
cff6299
Compare
cff6299
to
34554fd
Compare
There was a problem hiding this 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 deprecates public references to the DefinitionExt and PhiReadNode classes in the SSA library, making them internal-only while still retaining their functionality in the background.
- Added a change note indicating the deprecation of public references to DefinitionExt and PhiReadNode.
Files not reviewed (1)
- shared/ssa/codeql/ssa/Ssa.qll: Language not supported
Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab. Learn more
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One question, otherwise LGTM.
@@ -1369,18 +1408,6 @@ module Make<LocationSig Location, InputSig<Location> Input> { | |||
not uncertainWriteDefinitionInput(_, def) | |||
} | |||
|
|||
/** Holds if a read is not dominated by a definition. */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I was too quick there. I removed it because it referenced deprecated predicates, but I should just have updated those references. Fix incoming.
This PR deprecates all public predicates and classes in the SSA library that somehow reference phi-read nodes or
DefinitionExt
. TheDefinitionExt
andPhiReadNode
classes are still used internally in the SSA library, but they're now completely hidden.