mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
Swift: Add 'nomagic'.
This commit is contained in:
@@ -54,6 +54,7 @@ class Pattern extends Generated::Pattern {
|
||||
* For example, in `switch .some(e) { case let .some(p): ... }`, the pattern `p`
|
||||
* is matched against the expression `e`.
|
||||
*/
|
||||
pragma[nomagic]
|
||||
Expr getMatchingExpr() {
|
||||
result = this.getImmediateMatchingExpr()
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user