Skip to content

Commit 96094ac

Browse files
committed
Fixed: Build failed due to the merging/rebasing
1 parent b0ce340 commit 96094ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/PrintAsObjC/PrintAsObjC.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -933,8 +933,8 @@ class ObjCPrinter : private DeclVisitor<ObjCPrinter>,
933933

934934
const ValueDecl *renamedDecl = nullptr;
935935
SmallVector<ValueDecl *, 4> lookupResults;
936-
declContext->lookupQualified(typeDecl, renamedDeclName,
937-
NL_QualifiedDefault, lookupResults);
936+
declContext->lookupQualified(typeDecl->getDeclaredInterfaceType(), renamedDeclName,
937+
NL_QualifiedDefault, nullptr, lookupResults);
938938

939939
if (lookupResults.size() == 1) {
940940
auto candidate = lookupResults[0];

0 commit comments

Comments
 (0)