Skip to content

Commit d111e64

Browse files
authored
[clang] Fix typos in options text. (llvm#130129)
1 parent f62ab33 commit d111e64

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

clang/include/clang/Basic/LangOptions.def

+1-1
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ VALUE_LANGOPT(FuchsiaAPILevel, 32, 0, "Fuchsia API level")
515515
// on large _BitInts.
516516
BENIGN_VALUE_LANGOPT(MaxBitIntWidth, 32, 128, "Maximum width of a _BitInt")
517517

518-
COMPATIBLE_LANGOPT(IncrementalExtensions, 1, 0, " True if we want to process statements"
518+
COMPATIBLE_LANGOPT(IncrementalExtensions, 1, 0, "True if we want to process statements "
519519
"on the global scope, ignore EOF token and continue later on (thus "
520520
"avoid tearing the Lexer and etc. down). Controlled by "
521521
"-fincremental-extensions.")

clang/include/clang/Driver/Options.td

+3-3
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ def Wa_COMMA : CommaJoined<["-"], "Wa,">,
876876
MetaVarName<"<arg>">;
877877
def warning_suppression_mappings_EQ : Joined<["--"],
878878
"warning-suppression-mappings=">, Group<Diag_Group>,
879-
HelpText<"File containing diagnostic suppresion mappings. See user manual "
879+
HelpText<"File containing diagnostic suppression mappings. See user manual "
880880
"for file format.">, Visibility<[ClangOption, CC1Option]>;
881881
def Wall : Flag<["-"], "Wall">, Group<W_Group>, Flags<[HelpHidden]>,
882882
Visibility<[ClangOption, CC1Option, FlangOption]>;
@@ -941,7 +941,7 @@ def Xarch__
941941
target matches the specified architecture. This can be used with the target
942942
CPU, triple architecture, or offloading host and device. It is most useful
943943
for separating behavior undesirable on one of the targets when combining many
944-
compilation jobs, as is commong with offloading. For example, -Xarch_x86_64,
944+
compilation jobs, as is common with offloading. For example, -Xarch_x86_64,
945945
-Xarch_gfx90a, and -Xarch_device are all valid selectors. -Xarch_device will
946946
forward the argument to the offloading device while -Xarch_host will target
947947
the host system, which can be used to suppress incompatible GPU arguments.}]>,
@@ -1678,7 +1678,7 @@ def fsample_profile_use_profi : Flag<["-"], "fsample-profile-use-profi">,
16781678
HelpText<"Use profi to infer block and edge counts">,
16791679
DocBrief<[{Infer block and edge counts. If the profiles have errors or missing
16801680
blocks caused by sampling, profile inference (profi) can convert
1681-
basic block counts to branch probabilites to fix them by extended
1681+
basic block counts to branch probabilities to fix them by extended
16821682
and re-engineered classic MCMF (min-cost max-flow) approach.}]>;
16831683
def fno_profile_sample_accurate : Flag<["-"], "fno-profile-sample-accurate">, Group<f_Group>;
16841684
def fno_auto_profile : Flag<["-"], "fno-auto-profile">, Group<f_Group>,

0 commit comments

Comments
 (0)