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 294de74 commit a04b10cCopy full SHA for a04b10c
swift/extractor/translators/ExprTranslator.cpp
@@ -538,7 +538,7 @@ void ExprTranslator::fillSelfApplyExpr(const swift::SelfApplyExpr& expr,
538
539
void ExprTranslator::fillLookupExpr(const swift::LookupExpr& expr, codeql::LookupExpr& entry) {
540
entry.base = dispatcher.fetchLabel(expr.getBase());
541
- if (expr.hasDecl()) {
+ if (expr.hasDecl() && !expr.getDecl().getDecl()->isUnavailable()) {
542
entry.member = dispatcher.fetchLabel(expr.getDecl().getDecl());
543
}
544
0 commit comments