mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fix swift_symbolgraph_extract_main.cpp SmallVector
This commit is contained in:
@@ -235,7 +235,7 @@ int swift_symbolgraph_extract_main(ArrayRef<const char *> Args,
|
||||
// don't need to print these errors.
|
||||
CI.removeDiagnosticConsumer(&DiagPrinter);
|
||||
|
||||
SmallVector<ModuleDecl *> Overlays;
|
||||
SmallVector<ModuleDecl *, 32> Overlays;
|
||||
M->findDeclaredCrossImportOverlaysTransitive(Overlays);
|
||||
for (const auto *OM : Overlays) {
|
||||
auto CIM = CI.getASTContext().getModuleByName(OM->getNameStr());
|
||||
|
||||
Reference in New Issue
Block a user