CodeQL library for Swift
codeql/swift-all 6.2.3 (changelog, source)
Search

Member predicate Generated::TypeDecl::getInheritedType

Gets the indexth inherited type of this type declaration (0-based).

This only returns the types effectively appearing in the declaration. In particular it will not resolve TypeAliasDecls or consider base types added by extensions.

Type getInheritedType(int index)