Skip to content

Commit af7bee8

Browse files
Merge pull request #39853 from rjmansfield/main
Fix various typos and missing whitespace.
2 parents 29e0a31 + 3fc7762 commit af7bee8

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

include/swift/Option/FrontendOptions.td

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,9 @@ def disable_typo_correction : Flag<["-"], "disable-typo-correction">,
181181
def disable_implicit_swift_modules: Flag<["-"], "disable-implicit-swift-modules">,
182182
HelpText<"Disable building Swift modules implicitly by the compiler">;
183183

184-
def explict_swift_module_map
184+
def explicit_swift_module_map
185185
: Separate<["-"], "explicit-swift-module-map-file">, MetaVarName<"<path>">,
186-
HelpText<"Specify a JSON file containing information of explict Swift modules">;
186+
HelpText<"Specify a JSON file containing information of explicit Swift modules">;
187187

188188
def placeholder_dependency_module_map
189189
: Separate<["-"], "placeholder-dependency-module-map-file">, MetaVarName<"<path>">,
@@ -194,7 +194,7 @@ def batch_scan_input_file
194194
HelpText<"Specify a JSON file containing modules to perform batch dependencies scanning">;
195195

196196
def import_prescan : Flag<["-"], "import-prescan">,
197-
HelpText<"When performing a dependency scan, only dentify all imports of the main Swift module sources">;
197+
HelpText<"When performing a dependency scan, only identify all imports of the main Swift module sources">;
198198

199199
def serialize_dependency_scan_cache : Flag<["-"], "serialize-dependency-scan-cache">,
200200
HelpText<"After performing a dependency scan, serialize the scanner's internal state.">;
@@ -816,7 +816,7 @@ def enable_verify_exclusivity : Flag<["-"], "enable-verify-exclusivity">,
816816
HelpText<"Enable verification of access markers used to enforce exclusivity.">;
817817

818818
def disable_verify_exclusivity : Flag<["-"], "disable-verify-exclusivity">,
819-
HelpText<"Diable verification of access markers used to enforce exclusivity.">;
819+
HelpText<"Disable verification of access markers used to enforce exclusivity.">;
820820

821821
def disable_legacy_type_info : Flag<["-"], "disable-legacy-type-info">,
822822
HelpText<"Completely disable legacy type layout">;

include/swift/Option/Options.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ def save_optimization_record_path :
708708
def save_optimization_record_passes :
709709
Separate<["-"], "save-optimization-record-passes">,
710710
Flags<[FrontendOption]>,
711-
HelpText<"Only include passes which match a specified regular expression in"
711+
HelpText<"Only include passes which match a specified regular expression in "
712712
"the generated optimization record "
713713
"(by default, include all passes)">, MetaVarName<"<regex>">;
714714

lib/Frontend/CompilerInvocation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@ static bool ParseSearchPathArgs(SearchPathOptions &Opts,
11701170
Opts.DisableModulesValidateSystemDependencies |=
11711171
Args.hasArg(OPT_disable_modules_validate_system_headers);
11721172

1173-
if (const Arg *A = Args.getLastArg(OPT_explict_swift_module_map))
1173+
if (const Arg *A = Args.getLastArg(OPT_explicit_swift_module_map))
11741174
Opts.ExplicitSwiftModuleMap = A->getValue();
11751175
for (auto A: Args.filtered(OPT_candidate_module_file)) {
11761176
Opts.CandidateCompiledModules.push_back(resolveSearchPath(A->getValue()));

utils/build_swift/build_swift/driver_arguments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ def create_argument_parser():
518518
default=defaults.DSYMUTIL_JOBS,
519519
metavar='COUNT',
520520
help='the maximum number of parallel dsymutil jobs to use when '
521-
'extracting symbols. Tweak with caution, since dsymutil'
521+
'extracting symbols. Tweak with caution, since dsymutil '
522522
'is memory intensive.')
523523

524524
option('--disable-guaranteed-normal-arguments', store_true,

0 commit comments

Comments
 (0)