Skip to content

Commit edf0be0

Browse files
authored
Merge pull request #9611 from MathiasVP/swift-nomagic-get-location
Swift: Add `nomagic` to `getLocation`
2 parents 57abd4a + 068ac2b commit edf0be0

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)