-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Rust: Add generated models for standard libraries including core #18787
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
Changes from all commits
925d6ac
0c3e8a0
b6144c2
6353dbf
5c99785
26a96d9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,12 @@ final class CloneCallable extends SummarizedCallable::Range { | |
) | ||
} | ||
|
||
final override predicate propagatesFlow(string input, string output, boolean preservesValue) { | ||
input = "Argument[self]" and output = "ReturnValue" and preservesValue = true | ||
final override predicate propagatesFlow( | ||
string input, string output, boolean preservesValue, string model | ||
) { | ||
input = "Argument[self]" and | ||
output = "ReturnValue" and | ||
preservesValue = true and | ||
model = "generated" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Previously this had a model of |
||
} | ||
} |
This file was deleted.
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.
This fixes some data flow inconsistencies otherwise introduced by the new models. Ruby and C# have the same, so I think this is appropriate.