-
Notifications
You must be signed in to change notification settings - Fork 1.8k
SSA: Make shared library a parameterized module #10203
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
Conversation
5195825
to
a0574b0
Compare
* ``` | ||
*/ | ||
module Make<InputSig Input> { | ||
private import Input |
Check warning
Code scanning / CodeQL
QL-for-QL encountered an internal consistency error
* ``` | ||
*/ | ||
module Make<InputSig Input> { | ||
private import Input |
Check warning
Code scanning / CodeQL
QL-for-QL encountered an internal consistency error
* ``` | ||
*/ | ||
module Make<InputSig Input> { | ||
private import Input |
Check warning
Code scanning / CodeQL
QL-for-QL encountered an internal consistency error
ad1445a
to
1710326
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.
The changes LGTM! I'll delay the merge until @ginsbach (or someone else from the core team) has looked at the parameterized modules usage.
1710326
to
7a2d434
Compare
Are these predicates meant to be publically usable? If they are then they will disappear from the online docs. |
Nope. Each language should provide its own public layer on top. |
This PR changes
SsaImplCommon.qll
to be a parameterized module. This means that we no longer need 4 copies for C#, but we still need a copy per language (I plan to change that in a follow-up PR).