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.
1 parent cf08644 commit ace00c3Copy full SHA for ace00c3
swift/ql/lib/codeql/swift/elements/type/AnyGenericType.qll
@@ -1,4 +1,6 @@
1
-// generated by codegen/codegen.py, remove this comment if you wish to edit this file
2
private import codeql.swift.generated.type.AnyGenericType
+private import codeql.swift.elements.decl.GenericTypeDecl
3
4
-class AnyGenericType extends AnyGenericTypeBase { }
+class AnyGenericType extends AnyGenericTypeBase {
5
+ string getName() { result = this.getDeclaration().(GenericTypeDecl).getName() }
6
+}
0 commit comments