Skip to content

Commit 068ac2b

Browse files
committed
Swift: Add 'nomagic' to 'getLocation'.
1 parent ae44a94 commit 068ac2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

swift/ql/lib/codeql/swift/elements/Locatable.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
private import codeql.swift.generated.Locatable
22

33
class Locatable extends LocatableBase {
4+
pragma[nomagic]
45
override Location getLocation() {
56
result = LocatableBase.super.getLocation()
67
or

0 commit comments

Comments
 (0)