mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
Swift: update extractor after schema changes
This commit is contained in:
@@ -271,7 +271,7 @@ void DeclTranslator::fillTypeDecl(const swift::TypeDecl& decl, codeql::TypeDecl&
|
||||
entry.name = decl.getNameStr().str();
|
||||
for (auto& typeLoc : decl.getInherited()) {
|
||||
if (auto type = typeLoc.getType()) {
|
||||
entry.base_types.push_back(dispatcher.fetchLabel(type));
|
||||
entry.inherited_types.push_back(dispatcher.fetchLabel(type));
|
||||
}
|
||||
}
|
||||
fillValueDecl(decl, entry);
|
||||
|
||||
Reference in New Issue
Block a user