Skip to content

Commit 82a842f

Browse files
author
David Ungar
committed
Rename addPrivateImports
1 parent 543c826 commit 82a842f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/AST/UnqualifiedLookup.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ class UnqualifiedLookupFactory {
356356
void recordDependencyOnTopLevelName(DeclContext *topLevelContext,
357357
DeclName name, bool isCascadingUse);
358358

359-
void addPrivateImports(DeclContext *const dc);
359+
void addImportedResults(DeclContext *const dc);
360360

361361
void addNamesKnownToDebugClient(DeclContext *dc);
362362

@@ -440,7 +440,7 @@ void UnqualifiedLookupFactory::lookUpTopLevelNamesInModuleScopeContext(
440440
isOriginallyTypeLookup, Results))
441441
return;
442442

443-
addPrivateImports(DC);
443+
addImportedResults(DC);
444444
addNamesKnownToDebugClient(DC);
445445
if (Results.empty()) {
446446
// If we still haven't found anything, but we do have some
@@ -1042,7 +1042,7 @@ void UnqualifiedLookupFactory::recordDependencyOnTopLevelName(
10421042
recordedIsCascadingUse = isCascadingUse;
10431043
}
10441044

1045-
void UnqualifiedLookupFactory::addPrivateImports(DeclContext *const dc) {
1045+
void UnqualifiedLookupFactory::addImportedResults(DeclContext *const dc) {
10461046
// Add private imports to the extra search list.
10471047
SmallVector<ModuleDecl::ImportedModule, 8> extraImports;
10481048
if (auto FU = dyn_cast<FileUnit>(dc))

0 commit comments

Comments
 (0)