File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -913,7 +913,7 @@ importer::addCommonInvocationArguments(
913
913
// / On Linux, some platform libraries (glibc, libstdc++) are not modularized.
914
914
// / We inject modulemaps for those libraries into their include directories
915
915
// / to allow using them from Swift.
916
- static SmallVector<std::pair<std::string, std::string>>
916
+ static SmallVector<std::pair<std::string, std::string>, 16 >
917
917
getClangInvocationFileMapping (ASTContext &ctx) {
918
918
using Path = SmallString<128 >;
919
919
@@ -970,7 +970,7 @@ getClangInvocationFileMapping(ASTContext &ctx) {
970
970
cxxStdlibDirs.push_back (Path (iter->path ()));
971
971
}
972
972
973
- SmallVector<std::pair<std::string, std::string>> result;
973
+ SmallVector<std::pair<std::string, std::string>, 16 > result;
974
974
// Inject a modulemap into the VFS for each of the libstdc++ versions.
975
975
for (const Path &cxxStdlibDir : cxxStdlibDirs) {
976
976
// Only inject the module map if the module does not already exist at
Original file line number Diff line number Diff line change @@ -1263,8 +1263,8 @@ extension Unicode.Scalar.Properties {
1263
1263
/// The name of a scalar is immutable and never changed in future versions of
1264
1264
/// the Unicode Standard. The `nameAlias` property is provided to issue
1265
1265
/// corrections if a name was issued erroneously. For example, the `name` of
1266
- /// U+FE18 is "PRESENTATION FORM FOR VERTICAL RIGHT WHITE LENTICULAR BRACKET "
1267
- /// (note that "BRACKET " is misspelled). The `nameAlias` property then
1266
+ /// U+FE18 is "PRESENTATION FORM FOR VERTICAL RIGHT WHITE LENTICULAR BRAKCET "
1267
+ /// (note that "BRAKCET " is misspelled). The `nameAlias` property then
1268
1268
/// contains the corrected name.
1269
1269
///
1270
1270
/// If a scalar has no alias, this property is `nil`.
Original file line number Diff line number Diff line change @@ -64,6 +64,9 @@ set CUSTOM_CLANG_MODULE_CACHE=%build_root%\tmp\org.llvm.clang.9999
64
64
md %build_root% \tmp\org.swift.package-manager
65
65
set SWIFTPM_MODULECACHE_OVERRIDE = %build_root% \tmp\org.swift.package-manager
66
66
67
+ set RunTest = 1
68
+ if " %1 " == " -notest" set RunTest = 0
69
+
67
70
call :clone_repositories %exitOnError%
68
71
call :download_icu %exitOnError%
69
72
:: TODO: Disabled until we need LLBuild/SwiftPM in this build script.
@@ -83,8 +86,11 @@ path %PATH%;C:\Program Files\Git\usr\bin
83
86
call :build_libdispatch %exitOnError%
84
87
85
88
path %source_root% \icu-%icu_version% \bin64;%install_directory% \bin;%build_root% \swift\bin;%build_root% \swift\libdispatch-prefix\bin;%PATH%
86
- call :test_swift %exitOnError%
87
- call :test_libdispatch %exitOnError%
89
+
90
+ if %RunTest% == 1 (
91
+ call :test_swift %exitOnError%
92
+ call :test_libdispatch %exitOnError%
93
+ )
88
94
89
95
goto :end
90
96
endlocal
You can’t perform that action at this time.
0 commit comments