diff --git a/upgrades/ee5c327face2866a7b3b12dcce5c291be52ebf52/upgrade_comment_groups.ql b/upgrades/ee5c327face2866a7b3b12dcce5c291be52ebf52/upgrade_comment_groups.ql index 4a7e37da40b..d4ce1ad001c 100644 --- a/upgrades/ee5c327face2866a7b3b12dcce5c291be52ebf52/upgrade_comment_groups.ql +++ b/upgrades/ee5c327face2866a7b3b12dcce5c291be52ebf52/upgrade_comment_groups.ql @@ -33,6 +33,7 @@ Location getLocation(CommentGroup cg) { not exists(cg.getLocation()) and result = cg.getComment(0).getLocation() } +pragma[noinline] predicate hasLocation(CommentGroup cg, File f, int startLine) { exists(Location loc | loc = getLocation(cg) | f = loc.getFile() and