We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
UnresolvedAstNodes
1 parent 34b8b43 commit 3aa7123Copy full SHA for 3aa7123
swift/ql/consistency-queries/UnresolvedAstNodes.ql
@@ -1,5 +1,8 @@
1
import swift
2
3
-from AstNode n
4
-where n.getAPrimaryQlClass().matches("Unresolved%")
5
-select n
+from AstNode n, string cls
+where
+ cls = n.getAPrimaryQlClass() and
6
+ cls.matches("Unresolved%") and
7
+ not n.getLocation() instanceof UnknownLocation
8
+select n, cls
0 commit comments