C++: Improve performance of definitions.qll.

This commit is contained in:
Cornelius Riemenschneider
2020-10-23 15:16:53 +02:00
parent 9388448053
commit a82cf74161
5 changed files with 16 additions and 21 deletions

View File

@@ -12,5 +12,5 @@ import definitions
external string selectedSourceFile();
from Top e, Top def, string kind
where def = definitionOf(e, kind, true) and e.getFile() = getEncodedFile(selectedSourceFile())
select e, def, kind
where def = definitionOf(e, kind) and e.getFile() = getEncodedFile(selectedSourceFile())
select e.getLocation(), def.getLocation(), kind