mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[NFC] Revert SmallVector<T> -> SmallVector<T, N> fixes
With the change to include `SmallVector.h` directly in `LLVM.h` rather than forward declaring in the only case it matters (ie. Clang <= 5), these fixes are no longer needed. Since defaulted version is preferred when there's no better choice (which is presumably the case if that's how they were originally added), use it instead. Some uses were instead changed to add `llvm::` so remove that too.
This commit is contained in:
@@ -241,7 +241,7 @@ int swift_symbolgraph_extract_main(ArrayRef<const char *> Args,
|
||||
// don't need to print these errors.
|
||||
CI.removeDiagnosticConsumer(&DiagPrinter);
|
||||
|
||||
SmallVector<ModuleDecl *, 8> Overlays;
|
||||
SmallVector<ModuleDecl *> Overlays;
|
||||
M->findDeclaredCrossImportOverlaysTransitive(Overlays);
|
||||
for (const auto *OM : Overlays) {
|
||||
auto CIM = CI.getASTContext().getModuleByName(OM->getNameStr());
|
||||
|
||||
Reference in New Issue
Block a user