Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Commit 6d35c60

Browse files
author
Max Schaefer
committed
Add pragma to prevent accidental inlining.
1 parent 75795d8 commit 6d35c60

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

upgrades/ee5c327face2866a7b3b12dcce5c291be52ebf52/upgrade_comment_groups.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Location getLocation(CommentGroup cg) {
3333
not exists(cg.getLocation()) and result = cg.getComment(0).getLocation()
3434
}
3535

36+
pragma[noinline]
3637
predicate hasLocation(CommentGroup cg, File f, int startLine) {
3738
exists(Location loc | loc = getLocation(cg) |
3839
f = loc.getFile() and

0 commit comments

Comments
 (0)