Order CFG nodes by column as well

This commit is contained in:
Nick Rolfe
2021-03-17 19:05:41 +00:00
parent 39aa2c6e53
commit 26c251f080
2 changed files with 164 additions and 164 deletions

View File

@@ -14,7 +14,7 @@ query predicate nodes(CfgNode n, string attr, string val) {
p
order by
p.getLocation().getFile().getBaseName(), p.getLocation().getFile().getAbsolutePath(),
p.getLocation().getStartLine()
p.getLocation().getStartLine(), p.getLocation().getStartColumn()
)
).toString()
}