Replace getEncodedFile with shared getFileBySourceArchiveName predicate

While also making it work with paths for databases created on Windows.
This commit is contained in:
Nick Rolfe
2020-11-10 13:48:01 +00:00
parent 26286e534e
commit 1e1eb7ee33
26 changed files with 141 additions and 55 deletions

View File

@@ -16,5 +16,5 @@ from NiceLocationExpr use, Definition defn, string kind, string f
where
defn = definitionOf(use, kind) and
use.hasLocationInfo(f, _, _, _, _) and
getEncodedFile(selectedSourceFile()).getAbsolutePath() = f
getFileBySourceArchiveName(selectedSourceFile()).getAbsolutePath() = f
select use, defn, kind