Skip to content

[clang] Fix various typos and whitespace in HelpText. #108527

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions clang/include/clang/Driver/Options.td
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@ def Xlinker : Separate<["-"], "Xlinker">, Flags<[LinkerInput, RenderAsInput]>,
HelpText<"Pass <arg> to the linker">, MetaVarName<"<arg>">,
Group<Link_Group>;
def Xoffload_linker : JoinedAndSeparate<["-"], "Xoffload-linker">,
HelpText<"Pass <arg> to the offload linkers or the ones idenfied by -<triple>">,
HelpText<"Pass <arg> to the offload linkers or the ones identified by -<triple>">,
MetaVarName<"<triple> <arg>">, Group<Link_Group>;
def Xpreprocessor : Separate<["-"], "Xpreprocessor">, Group<Preprocessor_Group>,
HelpText<"Pass <arg> to the preprocessor">, MetaVarName<"<arg>">;
Expand Down Expand Up @@ -2576,7 +2576,7 @@ defm sanitize_stats : BoolOption<"f", "sanitize-stats",
BothFlags<[], [ClangOption], " sanitizer statistics gathering.">>,
Group<f_clang_Group>;
def fsanitize_undefined_ignore_overflow_pattern_EQ : CommaJoined<["-"], "fsanitize-undefined-ignore-overflow-pattern=">,
HelpText<"Specify the overflow patterns to exclude from artihmetic sanitizer instrumentation">,
HelpText<"Specify the overflow patterns to exclude from arithmetic sanitizer instrumentation">,
Visibility<[ClangOption, CC1Option]>,
Values<"none,all,add-unsigned-overflow-test,add-signed-overflow-test,negated-unsigned-const,unsigned-post-decr-while">,
MarshallingInfoStringVector<LangOpts<"OverflowPatternExclusionValues">>;
Expand Down Expand Up @@ -3216,7 +3216,7 @@ def fno_modules_prune_non_affecting_module_map_files :
def fincremental_extensions :
Flag<["-"], "fincremental-extensions">,
Group<f_Group>, Visibility<[ClangOption, CC1Option]>,
HelpText<"Enable incremental processing extensions such as processing"
HelpText<"Enable incremental processing extensions such as processing "
"statements on the global scope.">,
MarshallingInfoFlag<LangOpts<"IncrementalExtensions">>;

Expand Down Expand Up @@ -3669,7 +3669,7 @@ def fopenmp_offload_mandatory : Flag<["-"], "fopenmp-offload-mandatory">, Group<
MarshallingInfoFlag<LangOpts<"OpenMPOffloadMandatory">>;
def fopenmp_force_usm : Flag<["-"], "fopenmp-force-usm">, Group<f_Group>,
Flags<[NoArgumentUnused]>, Visibility<[ClangOption, CC1Option, FlangOption, FC1Option]>,
HelpText<"Force behvaior as if the user specified pragma omp requires unified_shared_memory.">,
HelpText<"Force behavior as if the user specified pragma omp requires unified_shared_memory.">,
MarshallingInfoFlag<LangOpts<"OpenMPForceUSM">>;
def fopenmp_target_jit : Flag<["-"], "fopenmp-target-jit">, Group<f_Group>,
Flags<[NoArgumentUnused]>, Visibility<[ClangOption, CLOption]>,
Expand Down Expand Up @@ -3776,20 +3776,20 @@ defm tocdata : BoolOption<"m","tocdata",
PosFlag<SetTrue, [], [ClangOption, CC1Option],
"All suitable variables will have the TOC data transformation applied">,
NegFlag<SetFalse, [], [ClangOption, CC1Option],
"This is the default. TOC data transformation is not applied to any"
"variables. Only variables specified explicitly in -mtocdata= will"
"This is the default. TOC data transformation is not applied to any "
"variables. Only variables specified explicitly in -mtocdata= will "
"have the TOC data transformation.">,
BothFlags<[TargetSpecific], [ClangOption, CLOption]>>, Group<m_Group>;
def mtocdata_EQ : CommaJoined<["-"], "mtocdata=">,
Visibility<[ClangOption, CC1Option]>,
Flags<[TargetSpecific]>, Group<m_Group>,
HelpText<"Specifies a list of variables to which the TOC data transformation"
HelpText<"Specifies a list of variables to which the TOC data transformation "
"will be applied.">,
MarshallingInfoStringVector<CodeGenOpts<"TocDataVarsUserSpecified">>;
def mno_tocdata_EQ : CommaJoined<["-"], "mno-tocdata=">,
Visibility<[ClangOption, CC1Option]>,
Flags<[TargetSpecific]>, Group<m_Group>,
HelpText<"Specifies a list of variables to be exempt from the TOC data"
HelpText<"Specifies a list of variables to be exempt from the TOC data "
"transformation.">,
MarshallingInfoStringVector<CodeGenOpts<"NoTocDataVars">>;
defm preserve_as_comments : BoolFOption<"preserve-as-comments",
Expand Down Expand Up @@ -4373,7 +4373,7 @@ def femit_dwarf_unwind_EQ : Joined<["-"], "femit-dwarf-unwind=">,
defm emit_compact_unwind_non_canonical : BoolFOption<"emit-compact-unwind-non-canonical",
CodeGenOpts<"EmitCompactUnwindNonCanonical">, DefaultFalse,
PosFlag<SetTrue, [], [ClangOption, CC1Option, CC1AsOption],
"Try emitting Compact-Unwind for non-canonical entries. Maybe overriden by other constraints">,
"Try emitting Compact-Unwind for non-canonical entries. Maybe overridden by other constraints">,
NegFlag<SetFalse>>;
def g_Flag : Flag<["-"], "g">, Group<g_Group>,
Visibility<[ClangOption, CLOption, DXCOption, FlangOption]>,
Expand Down Expand Up @@ -5573,7 +5573,7 @@ def noseglinkedit : Flag<["-"], "noseglinkedit">;
def nostartfiles : Flag<["-"], "nostartfiles">, Group<Link_Group>;
def nostdinc : Flag<["-"], "nostdinc">,
Visibility<[ClangOption, CLOption, DXCOption]>, Group<IncludePath_Group>,
HelpText<"Disable both standard system #include directories and builtin #include directores">;
HelpText<"Disable both standard system #include directories and builtin #include directories">;
def nostdlibinc : Flag<["-"], "nostdlibinc">, Group<IncludePath_Group>,
HelpText<"Disable standard system #include directories only">;
def nostdincxx : Flag<["-"], "nostdinc++">, Visibility<[ClangOption, CC1Option]>,
Expand Down
Loading