File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -866,7 +866,7 @@ importer::addCommonInvocationArguments(
866
866
// / On Linux, some platform libraries (glibc, libstdc++) are not modularized.
867
867
// / We inject modulemaps for those libraries into their include directories
868
868
// / to allow using them from Swift.
869
- static SmallVector<std::pair<std::string, std::string>>
869
+ static SmallVector<std::pair<std::string, std::string>, 16 >
870
870
getClangInvocationFileMapping (ASTContext &ctx) {
871
871
using Path = SmallString<128 >;
872
872
@@ -923,7 +923,7 @@ getClangInvocationFileMapping(ASTContext &ctx) {
923
923
cxxStdlibDirs.push_back (Path (iter->path ()));
924
924
}
925
925
926
- SmallVector<std::pair<std::string, std::string>> result;
926
+ SmallVector<std::pair<std::string, std::string>, 16 > result;
927
927
// Inject a modulemap into the VFS for each of the libstdc++ versions.
928
928
for (const Path &cxxStdlibDir : cxxStdlibDirs) {
929
929
// Only inject the module map if the module does not already exist at
You can’t perform that action at this time.
0 commit comments