fix a few typo in the doc but also in the clang messages
llvm-svn: 292015
This commit is contained in:
parent
e6ec4418fb
commit
e86ee6b0a8
|
@ -540,7 +540,7 @@ The bit vector lookup is probably too complex for a hardware implementation.
|
|||
Jump(kFailedCheckTarget);
|
||||
}
|
||||
|
||||
An alternative and more compact enconding would not use `kFailedCheckTarget`,
|
||||
An alternative and more compact encoding would not use `kFailedCheckTarget`,
|
||||
and will trap on check failure instead.
|
||||
This will allow us to fit the instruction into **8-9 bytes**.
|
||||
The cross-DSO checks will be performed by a trap handler and
|
||||
|
|
|
@ -2645,7 +2645,7 @@ Execute ``clang-cl /?`` to see a list of supported options:
|
|||
(overridden by LLVM_PROFILE_FILE env var)
|
||||
-fprofile-instr-generate
|
||||
Generate instrumented code to collect execution counts into default.profraw file
|
||||
(overriden by '=' form of option or LLVM_PROFILE_FILE env var)
|
||||
(overridden by '=' form of option or LLVM_PROFILE_FILE env var)
|
||||
-fprofile-instr-use=<value>
|
||||
Use instrumentation data for profile-guided optimization
|
||||
-fsanitize-blacklist=<value>
|
||||
|
|
|
@ -340,7 +340,7 @@ class TargetSpecificAttr<TargetArch target> {
|
|||
// should contain a shared value between the attributes.
|
||||
//
|
||||
// Target-specific attributes which use this feature should ensure that the
|
||||
// spellings match exactly betweeen the attributes, and if the arguments or
|
||||
// spellings match exactly between the attributes, and if the arguments or
|
||||
// subjects differ, should specify HasCustomParsing = 1 and implement their
|
||||
// own parsing and semantic handling requirements as-needed.
|
||||
string ParseKind;
|
||||
|
|
|
@ -883,7 +883,7 @@ def BackendOptimizationFailure : DiagGroup<"pass-failed">;
|
|||
def ProfileInstrOutOfDate : DiagGroup<"profile-instr-out-of-date">;
|
||||
def ProfileInstrUnprofiled : DiagGroup<"profile-instr-unprofiled">;
|
||||
|
||||
// AddressSanitizer frontent instrumentation remarks.
|
||||
// AddressSanitizer frontend instrumentation remarks.
|
||||
def SanitizeAddressRemarks : DiagGroup<"sanitize-address">;
|
||||
|
||||
// Issues with serialized diagnostics.
|
||||
|
|
|
@ -2268,7 +2268,7 @@ def warn_unsupported_target_attribute
|
|||
InGroup<IgnoredAttributes>;
|
||||
def err_attribute_unsupported
|
||||
: Error<"%0 attribute is not supported for this target">;
|
||||
// The err_*_attribute_argument_not_int are seperate because they're used by
|
||||
// The err_*_attribute_argument_not_int are separate because they're used by
|
||||
// VerifyIntegerConstantExpression.
|
||||
def err_aligned_attribute_argument_not_int : Error<
|
||||
"'aligned' attribute requires integer constant">;
|
||||
|
@ -3387,7 +3387,7 @@ def note_ovl_candidate_disabled_by_function_cond_attr : Note<
|
|||
def note_ovl_candidate_disabled_by_extension : Note<
|
||||
"candidate disabled due to OpenCL extension">;
|
||||
def err_addrof_function_disabled_by_enable_if_attr : Error<
|
||||
"cannot take address of function %0 becuase it has one or more "
|
||||
"cannot take address of function %0 because it has one or more "
|
||||
"non-tautological enable_if conditions">;
|
||||
def note_addrof_ovl_candidate_disabled_by_enable_if_attr : Note<
|
||||
"candidate function made ineligible by enable_if">;
|
||||
|
|
|
@ -43,7 +43,7 @@ def ObjCAtSynchronizedStmt : Stmt;
|
|||
def ObjCForCollectionStmt : Stmt;
|
||||
def ObjCAutoreleasePoolStmt : Stmt;
|
||||
|
||||
// C++ statments
|
||||
// C++ statements
|
||||
def CXXCatchStmt : Stmt;
|
||||
def CXXTryStmt : Stmt;
|
||||
def CXXForRangeStmt : Stmt;
|
||||
|
|
|
@ -1362,7 +1362,7 @@ def SCALAR_SHL: SInst<"vshl", "sss", "SlSUl">;
|
|||
def SCALAR_QSHL: SInst<"vqshl", "sss", "ScSsSiSlSUcSUsSUiSUl">;
|
||||
// Scalar Saturating Rounding Shift Left
|
||||
def SCALAR_QRSHL: SInst<"vqrshl", "sss", "ScSsSiSlSUcSUsSUiSUl">;
|
||||
// Scalar Shift Rouding Left
|
||||
// Scalar Shift Rounding Left
|
||||
def SCALAR_RSHL: SInst<"vrshl", "sss", "SlSUl">;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -518,7 +518,7 @@ def fauto_profile_EQ : Joined<["-"], "fauto-profile=">,
|
|||
Alias<fprofile_sample_use_EQ>;
|
||||
def fprofile_instr_generate : Flag<["-"], "fprofile-instr-generate">,
|
||||
Group<f_Group>, Flags<[CoreOption]>,
|
||||
HelpText<"Generate instrumented code to collect execution counts into default.profraw file (overriden by '=' form of option or LLVM_PROFILE_FILE env var)">;
|
||||
HelpText<"Generate instrumented code to collect execution counts into default.profraw file (overridden by '=' form of option or LLVM_PROFILE_FILE env var)">;
|
||||
def fprofile_instr_generate_EQ : Joined<["-"], "fprofile-instr-generate=">,
|
||||
Group<f_Group>, Flags<[CoreOption]>, MetaVarName<"<file>">,
|
||||
HelpText<"Generate instrumented code to collect execution counts into <file> (overridden by LLVM_PROFILE_FILE env var)">;
|
||||
|
@ -821,7 +821,7 @@ def : Flag<["-"], "findirect-virtual-calls">, Alias<fapple_kext>;
|
|||
def finline_functions : Flag<["-"], "finline-functions">, Group<f_clang_Group>, Flags<[CC1Option]>,
|
||||
HelpText<"Inline suitable functions">;
|
||||
def finline_hint_functions: Flag<["-"], "finline-hint-functions">, Group<f_clang_Group>, Flags<[CC1Option]>,
|
||||
HelpText<"Inline functions wich are (explicitly or implicitly) marked inline">;
|
||||
HelpText<"Inline functions which are (explicitly or implicitly) marked inline">;
|
||||
def finline : Flag<["-"], "finline">, Group<clang_ignored_f_Group>;
|
||||
def fexperimental_new_pass_manager : Flag<["-"], "fexperimental-new-pass-manager">,
|
||||
Group<f_clang_Group>, Flags<[CC1Option]>,
|
||||
|
|
Loading…
Reference in New Issue