mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #69163 from apple/rebranch
Merge `rebranch` into `main` to support `stable/20230725` llvm-project branch
This commit is contained in:
@@ -626,7 +626,7 @@ void SourceLookupCache::lookupVisibleDecls(ImportPath::Access AccessPath,
|
||||
// 'names' in macro role attributes). Since expansions are cached, it doesn't
|
||||
// cause duplicated expansions, but different 'unexpandedDecl' may report the
|
||||
// same 'ValueDecl'.
|
||||
SmallSetVector<ValueDecl *, 4> macroExpandedDecls;
|
||||
llvm::SmallSetVector<ValueDecl *, 4> macroExpandedDecls;
|
||||
for (MissingDecl *unexpandedDecl : unexpandedDecls) {
|
||||
unexpandedDecl->forEachMacroExpandedDecl([&](ValueDecl *vd) {
|
||||
macroExpandedDecls.insert(vd);
|
||||
|
||||
Reference in New Issue
Block a user