Skip to content

Commit b7a7963

Browse files
authored
Merge pull request #15348 from MathiasVP/remove-bad-magic-swift
2 parents 5cf9bc2 + 6391346 commit b7a7963

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

swift/ql/lib/codeql/swift/elements/pattern/Pattern.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ class Pattern extends Generated::Pattern {
5454
* For example, in `switch .some(e) { case let .some(p): ... }`, the pattern `p`
5555
* is matched against the expression `e`.
5656
*/
57+
pragma[nomagic]
5758
Expr getMatchingExpr() {
5859
result = this.getImmediateMatchingExpr()
5960
or

0 commit comments

Comments
 (0)