Rust: Apply same filtering of generated summaries as in C# and Java

This commit is contained in:
Tom Hvitved
2025-12-12 09:55:23 +01:00
parent c4a8e9df21
commit 0b81d44ec7
2 changed files with 10 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ private module DispatchImpl {
not (
// Only use summarized callables with generated summaries in case
// the static call target is not in the source code.
// Note that if applyGeneratedModel holds it implies that there doesn't
// Note that if `applyGeneratedModel` holds it implies that there doesn't
// exist a manual model.
exists(Callable staticTarget | staticTarget = call.getCallee().getSourceDeclaration() |
staticTarget.fromSource() and not staticTarget.isStub()