Skip to content

Commit f2f0d63

Browse files
authored
Merge pull request #4434 from apple/revert-4426-remove-unused-variable
Revert "[ClangImporter] Remove unused variable. NFC."
2 parents 95820e3 + ef1ea8b commit f2f0d63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/ClangImporter/ImportDecl.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5021,6 +5021,7 @@ namespace {
50215021
const clang::ObjCProtocolList &clangProtocols,
50225022
SmallVectorImpl<TypeLoc> &inheritedTypes) {
50235023
SmallVector<ProtocolDecl *, 4> protocols;
5024+
llvm::SmallPtrSet<ProtocolDecl *, 4> knownProtocols;
50245025
if (auto nominal = dyn_cast<NominalTypeDecl>(decl))
50255026
nominal->getImplicitProtocols(protocols);
50265027

0 commit comments

Comments
 (0)