Merge pull request #69163 from apple/rebranch

Merge `rebranch` into `main` to support `stable/20230725` llvm-project branch
This commit is contained in:
Mishal Shah
2023-10-23 09:26:37 -07:00
committed by GitHub
395 changed files with 19840 additions and 2445 deletions

View File

@@ -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);