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 858c262 commit 3f532b2Copy full SHA for 3f532b2
swift/extractor/translators/TypeTranslator.cpp
@@ -160,10 +160,8 @@ void TypeTranslator::fillBoundGenericType(const swift::BoundGenericType& type,
160
161
void TypeTranslator::fillAnyGenericType(const swift::AnyGenericType& type,
162
codeql::AnyGenericType& entry) {
163
- if (!type.getDecl()->isUnavailable()) {
164
- entry.declaration = dispatcher.fetchLabel(type.getDecl());
165
- entry.parent = dispatcher.fetchOptionalLabel(type.getParent());
166
- }
+ entry.declaration = dispatcher.fetchLabel(type.getDecl());
+ entry.parent = dispatcher.fetchOptionalLabel(type.getParent());
167
}
168
169
void TypeTranslator::fillType(const swift::TypeBase& type, codeql::Type& entry) {
0 commit comments