OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Correction
(Results
1 - 5
of
5
) sorted by relevancy
/src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
AArch64ConditionOptimizer.cpp
251
int
Correction
= (Cmp == AArch64CC::GT) ? 1 : -1;
252
// Negate
Correction
value for comparison with negative immediate (CMN).
254
Correction
= -
Correction
;
258
const int NewImm = std::abs(OldImm +
Correction
);
262
if (OldImm == 0 && ((Negative &&
Correction
== 1) ||
263
(!Negative &&
Correction
== -1))) {
/src/external/apache2/llvm/dist/clang/lib/Sema/
SemaLookup.cpp
4121
// Typo
correction
4139
/// Check whether the declarations found for a typo
correction
are
4140
/// visible. Set the
correction
's RequiresImport flag to true if none of the
4221
// Don't consider hidden names for typo
correction
.
4275
void TypoCorrectionConsumer::addCorrection(TypoCorrection
Correction
) {
4277
StringRef Name =
Correction
.getCorrectionAsIdentifierInfo()->getName();
4283
(Name != TypoStr ||
Correction
.getEditDistance(true) > TypoStr.size()))
4286
// If the
correction
is resolved but is not viable, ignore it.
4287
if (
Correction
.isResolved()) {
4288
checkCorrectionVisibility(SemaRef,
Correction
);
[
all
...]
SemaDecl.cpp
380
TypoCorrection
Correction
= CorrectTypo(Result.getLookupNameInfo(), Kind,
382
IdentifierInfo *NewII =
Correction
.getCorrectionAsIdentifierInfo();
387
NestedNameSpecifier *NNS =
Correction
.getCorrectionSpecifier();
393
if (
Correction
&& (NNS || NewII != &II) &&
394
// Ignore a
correction
to a template type as the to-be-corrected
395
// identifier is not a template (typo
correction
for template names
406
diagnoseTypo(
Correction
,
416
// If typo
correction
failed or was not performed, fall through
935
// FIXME: Find a way to still do typo
correction
in this case.
949
// Perform typo
correction
to determine if there is another name that i
[
all
...]
/src/external/apache2/llvm/dist/clang/include/clang/Sema/
SemaInternal.h
106
// Arrange for ValidatedCorrections[0] to always be an empty
correction
.
117
void addCorrection(TypoCorrection
Correction
);
146
/// Return the next typo
correction
that passes all internal filters
153
/// Get the last
correction
returned by getNextCorrection().
157
: ValidatedCorrections[0]; // The empty
correction
.
160
/// Return the next typo
correction
like getNextCorrection, but keep
161
/// the internal state pointed to the current
correction
(i.e. the next time
162
/// getNextCorrection is called, it will return the same
correction
returned
190
/// Save the current position in the
correction
stream (overwriting any
196
/// Restore the saved position in the
correction
stream
[
all
...]
Sema.h
444
/// recursively during typo
correction
and wipe them away if the
correction
1472
/// The function definitions which were renamed as part of typo-
correction
2524
/// \param Name The identifier. If typo
correction
finds an alternative name,
2532
/// \param CCC The
correction
callback, if typo
correction
is desired.
4055
/// populate a new TypoCorrectionConsumer. Returns nullptr if typo
correction
4186
/// \param RecoverUncorrectedTypos If true, when typo
correction
fails, it
4210
void diagnoseTypo(const TypoCorrection &
Correction
,
4214
void diagnoseTypo(const TypoCorrection &
Correction
,
[
all
...]
Completed in 48 milliseconds
Indexes created Tue Feb 24 08:35:24 UTC 2026