Skip to content

Commit 50d2b6a

Browse files
authored
[clang] Fix various typos and whitespace in HelpText. (#108527)
1 parent a41bb71 commit 50d2b6a

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

clang/include/clang/Driver/Options.td

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@ def Xlinker : Separate<["-"], "Xlinker">, Flags<[LinkerInput, RenderAsInput]>,
10551055
HelpText<"Pass <arg> to the linker">, MetaVarName<"<arg>">,
10561056
Group<Link_Group>;
10571057
def Xoffload_linker : JoinedAndSeparate<["-"], "Xoffload-linker">,
1058-
HelpText<"Pass <arg> to the offload linkers or the ones idenfied by -<triple>">,
1058+
HelpText<"Pass <arg> to the offload linkers or the ones identified by -<triple>">,
10591059
MetaVarName<"<triple> <arg>">, Group<Link_Group>;
10601060
def Xpreprocessor : Separate<["-"], "Xpreprocessor">, Group<Preprocessor_Group>,
10611061
HelpText<"Pass <arg> to the preprocessor">, MetaVarName<"<arg>">;
@@ -2576,7 +2576,7 @@ defm sanitize_stats : BoolOption<"f", "sanitize-stats",
25762576
BothFlags<[], [ClangOption], " sanitizer statistics gathering.">>,
25772577
Group<f_clang_Group>;
25782578
def fsanitize_undefined_ignore_overflow_pattern_EQ : CommaJoined<["-"], "fsanitize-undefined-ignore-overflow-pattern=">,
2579-
HelpText<"Specify the overflow patterns to exclude from artihmetic sanitizer instrumentation">,
2579+
HelpText<"Specify the overflow patterns to exclude from arithmetic sanitizer instrumentation">,
25802580
Visibility<[ClangOption, CC1Option]>,
25812581
Values<"none,all,add-unsigned-overflow-test,add-signed-overflow-test,negated-unsigned-const,unsigned-post-decr-while">,
25822582
MarshallingInfoStringVector<LangOpts<"OverflowPatternExclusionValues">>;
@@ -3216,7 +3216,7 @@ def fno_modules_prune_non_affecting_module_map_files :
32163216
def fincremental_extensions :
32173217
Flag<["-"], "fincremental-extensions">,
32183218
Group<f_Group>, Visibility<[ClangOption, CC1Option]>,
3219-
HelpText<"Enable incremental processing extensions such as processing"
3219+
HelpText<"Enable incremental processing extensions such as processing "
32203220
"statements on the global scope.">,
32213221
MarshallingInfoFlag<LangOpts<"IncrementalExtensions">>;
32223222

@@ -3669,7 +3669,7 @@ def fopenmp_offload_mandatory : Flag<["-"], "fopenmp-offload-mandatory">, Group<
36693669
MarshallingInfoFlag<LangOpts<"OpenMPOffloadMandatory">>;
36703670
def fopenmp_force_usm : Flag<["-"], "fopenmp-force-usm">, Group<f_Group>,
36713671
Flags<[NoArgumentUnused]>, Visibility<[ClangOption, CC1Option, FlangOption, FC1Option]>,
3672-
HelpText<"Force behvaior as if the user specified pragma omp requires unified_shared_memory.">,
3672+
HelpText<"Force behavior as if the user specified pragma omp requires unified_shared_memory.">,
36733673
MarshallingInfoFlag<LangOpts<"OpenMPForceUSM">>;
36743674
def fopenmp_target_jit : Flag<["-"], "fopenmp-target-jit">, Group<f_Group>,
36753675
Flags<[NoArgumentUnused]>, Visibility<[ClangOption, CLOption]>,
@@ -3776,20 +3776,20 @@ defm tocdata : BoolOption<"m","tocdata",
37763776
PosFlag<SetTrue, [], [ClangOption, CC1Option],
37773777
"All suitable variables will have the TOC data transformation applied">,
37783778
NegFlag<SetFalse, [], [ClangOption, CC1Option],
3779-
"This is the default. TOC data transformation is not applied to any"
3780-
"variables. Only variables specified explicitly in -mtocdata= will"
3779+
"This is the default. TOC data transformation is not applied to any "
3780+
"variables. Only variables specified explicitly in -mtocdata= will "
37813781
"have the TOC data transformation.">,
37823782
BothFlags<[TargetSpecific], [ClangOption, CLOption]>>, Group<m_Group>;
37833783
def mtocdata_EQ : CommaJoined<["-"], "mtocdata=">,
37843784
Visibility<[ClangOption, CC1Option]>,
37853785
Flags<[TargetSpecific]>, Group<m_Group>,
3786-
HelpText<"Specifies a list of variables to which the TOC data transformation"
3786+
HelpText<"Specifies a list of variables to which the TOC data transformation "
37873787
"will be applied.">,
37883788
MarshallingInfoStringVector<CodeGenOpts<"TocDataVarsUserSpecified">>;
37893789
def mno_tocdata_EQ : CommaJoined<["-"], "mno-tocdata=">,
37903790
Visibility<[ClangOption, CC1Option]>,
37913791
Flags<[TargetSpecific]>, Group<m_Group>,
3792-
HelpText<"Specifies a list of variables to be exempt from the TOC data"
3792+
HelpText<"Specifies a list of variables to be exempt from the TOC data "
37933793
"transformation.">,
37943794
MarshallingInfoStringVector<CodeGenOpts<"NoTocDataVars">>;
37953795
defm preserve_as_comments : BoolFOption<"preserve-as-comments",
@@ -4373,7 +4373,7 @@ def femit_dwarf_unwind_EQ : Joined<["-"], "femit-dwarf-unwind=">,
43734373
defm emit_compact_unwind_non_canonical : BoolFOption<"emit-compact-unwind-non-canonical",
43744374
CodeGenOpts<"EmitCompactUnwindNonCanonical">, DefaultFalse,
43754375
PosFlag<SetTrue, [], [ClangOption, CC1Option, CC1AsOption],
4376-
"Try emitting Compact-Unwind for non-canonical entries. Maybe overriden by other constraints">,
4376+
"Try emitting Compact-Unwind for non-canonical entries. Maybe overridden by other constraints">,
43774377
NegFlag<SetFalse>>;
43784378
def g_Flag : Flag<["-"], "g">, Group<g_Group>,
43794379
Visibility<[ClangOption, CLOption, DXCOption, FlangOption]>,
@@ -5573,7 +5573,7 @@ def noseglinkedit : Flag<["-"], "noseglinkedit">;
55735573
def nostartfiles : Flag<["-"], "nostartfiles">, Group<Link_Group>;
55745574
def nostdinc : Flag<["-"], "nostdinc">,
55755575
Visibility<[ClangOption, CLOption, DXCOption]>, Group<IncludePath_Group>,
5576-
HelpText<"Disable both standard system #include directories and builtin #include directores">;
5576+
HelpText<"Disable both standard system #include directories and builtin #include directories">;
55775577
def nostdlibinc : Flag<["-"], "nostdlibinc">, Group<IncludePath_Group>,
55785578
HelpText<"Disable standard system #include directories only">;
55795579
def nostdincxx : Flag<["-"], "nostdinc++">, Visibility<[ClangOption, CC1Option]>,

0 commit comments

Comments
 (0)