Home
last modified time | relevance | path

Searched refs:Typo (Results 1 – 25 of 111) sorted by relevance

12345

/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/clang/Sema/
DTypoCorrection.h285 explicit CorrectionCandidateCallback(const IdentifierInfo *Typo = nullptr,
287 : Typo(Typo), TypoNNS(TypoNNS) {} in Typo() function
322 void setTypoName(const IdentifierInfo *II) { Typo = II; } in setTypoName()
341 return Typo && candidate.isResolved() && !candidate.requiresImport() && in MatchesTypo()
342 candidate.getCorrectionAsIdentifierInfo() == Typo && in MatchesTypo()
348 const IdentifierInfo *Typo; variable
354 explicit DefaultFilterCCC(const IdentifierInfo *Typo = nullptr,
356 : CorrectionCandidateCallback(Typo, TypoNNS) {} in CorrectionCandidateCallback() argument
368 explicit DeclFilterCCC(const IdentifierInfo *Typo = nullptr,
370 : CorrectionCandidateCallback(Typo, TypoNNS) {} in CorrectionCandidateCallback() argument
DSemaInternal.h98 : Typo(TypoName.getName().getAsIdentifierInfo()), CurrentTCIndex(0), in TypoCorrectionConsumer()
296 IdentifierInfo *Typo; variable
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/clang/Sema/
DTypoCorrection.h285 explicit CorrectionCandidateCallback(const IdentifierInfo *Typo = nullptr,
287 : Typo(Typo), TypoNNS(TypoNNS) {} in Typo() function
322 void setTypoName(const IdentifierInfo *II) { Typo = II; } in setTypoName()
341 return Typo && candidate.isResolved() && !candidate.requiresImport() && in MatchesTypo()
342 candidate.getCorrectionAsIdentifierInfo() == Typo && in MatchesTypo()
348 const IdentifierInfo *Typo; variable
354 explicit DefaultFilterCCC(const IdentifierInfo *Typo = nullptr,
356 : CorrectionCandidateCallback(Typo, TypoNNS) {} in CorrectionCandidateCallback() argument
368 explicit DeclFilterCCC(const IdentifierInfo *Typo = nullptr,
370 : CorrectionCandidateCallback(Typo, TypoNNS) {} in CorrectionCandidateCallback() argument
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/clang/Sema/
DTypoCorrection.h285 explicit CorrectionCandidateCallback(const IdentifierInfo *Typo = nullptr,
287 : Typo(Typo), TypoNNS(TypoNNS) {} in Typo() function
322 void setTypoName(const IdentifierInfo *II) { Typo = II; } in setTypoName()
341 return Typo && candidate.isResolved() && !candidate.requiresImport() && in MatchesTypo()
342 candidate.getCorrectionAsIdentifierInfo() == Typo && in MatchesTypo()
348 const IdentifierInfo *Typo; variable
354 explicit DefaultFilterCCC(const IdentifierInfo *Typo = nullptr,
356 : CorrectionCandidateCallback(Typo, TypoNNS) {} in CorrectionCandidateCallback() argument
368 explicit DeclFilterCCC(const IdentifierInfo *Typo = nullptr,
370 : CorrectionCandidateCallback(Typo, TypoNNS) {} in CorrectionCandidateCallback() argument
DSemaInternal.h98 : Typo(TypoName.getName().getAsIdentifierInfo()), CurrentTCIndex(0), in TypoCorrectionConsumer()
296 IdentifierInfo *Typo; variable
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/clang/Sema/
DTypoCorrection.h285 explicit CorrectionCandidateCallback(IdentifierInfo *Typo = nullptr,
287 : Typo(Typo), TypoNNS(TypoNNS) {} in Typo() argument
322 void setTypoName(IdentifierInfo *II) { Typo = II; } in setTypoName()
341 return Typo && candidate.isResolved() && !candidate.requiresImport() && in MatchesTypo()
342 candidate.getCorrectionAsIdentifierInfo() == Typo && in MatchesTypo()
348 IdentifierInfo *Typo; variable
354 explicit DefaultFilterCCC(IdentifierInfo *Typo = nullptr,
356 : CorrectionCandidateCallback(Typo, TypoNNS) {} in CorrectionCandidateCallback() argument
DSemaInternal.h98 : Typo(TypoName.getName().getAsIdentifierInfo()), CurrentTCIndex(0), in TypoCorrectionConsumer()
296 IdentifierInfo *Typo; variable
/aosp_15_r20/external/clang/include/clang/Sema/
H A DTypoCorrection.h256 explicit CorrectionCandidateCallback(IdentifierInfo *Typo = nullptr,
261 IsObjCIvarLookup(false), IsAddressOfOperand(false), Typo(Typo), in WantTypeSpecifiers()
290 void setTypoName(IdentifierInfo *II) { Typo = II; } in setTypoName()
309 return Typo && candidate.isResolved() && !candidate.requiresImport() && in MatchesTypo()
310 candidate.getCorrectionAsIdentifierInfo() == Typo && in MatchesTypo()
316 IdentifierInfo *Typo; variable
H A DSemaInternal.h116 : Typo(TypoName.getName().getAsIdentifierInfo()), CurrentTCIndex(0), in TypoCorrectionConsumer()
309 IdentifierInfo *Typo; variable
/aosp_15_r20/external/clang/lib/AST/
H A DCommentSema.cpp953 StringRef Typo; member in clang::comments::__anon3fece4c20211::SimpleTypoCorrector
962 SimpleTypoCorrector(StringRef Typo) : in SimpleTypoCorrector() argument
963 Typo(Typo), MaxEditDistance((Typo.size() + 2) / 3), in SimpleTypoCorrector()
991 unsigned MinPossibleEditDistance = abs((int)Name.size() - (int)Typo.size()); in addDecl()
993 Typo.size() / MinPossibleEditDistance < 3) in addDecl()
996 unsigned EditDistance = Typo.edit_distance(Name, true, MaxEditDistance); in addDecl()
1006 StringRef Typo, in correctTypoInParmVarReference() argument
1008 SimpleTypoCorrector Corrector(Typo); in correctTypoInParmVarReference()
1071 StringRef Typo, in correctTypoInTParamReference() argument
1073 SimpleTypoCorrector Corrector(Typo); in correctTypoInTParamReference()
H A DCommentCommandTraits.cpp47 CommandTraits::getTypoCorrectCommandInfo(StringRef Typo) const { in getTypoCorrectCommandInfo()
50 if (Typo.size() <= 1) in getTypoCorrectCommandInfo()
62 unsigned MinPossibleEditDistance = abs((int)Name.size() - (int)Typo.size()); in getTypoCorrectCommandInfo()
64 unsigned EditDistance = Typo.edit_distance(Name, true, BestEditDistance); in getTypoCorrectCommandInfo()
/aosp_15_r20/external/clang/unittests/Sema/
H A DExternalSemaSourceTest.cpp108 TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo, int LookupKind, in CorrectTypo() argument
114 if (CurrentSema && Typo.getName().getAsString() == CorrectFrom) { in CorrectTypo()
124 NamespaceDecl::Create(Context, DestContext, false, Typo.getBeginLoc(), in CorrectTypo()
125 Typo.getLoc(), ToIdent, nullptr); in CorrectTypo()
150 TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo, int LookupKind, in CorrectTypo() argument
156 if (CurrentSema && Typo.getName().getAsString() == CorrectFrom) { in CorrectTypo()
/aosp_15_r20/external/clang/lib/Sema/
H A DSemaLookup.cpp3869 if (!LookupResult::isVisible(SemaRef, ND) && Name != Typo && in FoundDecl()
3892 StringRef TypoStr = Typo->getName(); in addName()
3912 StringRef TypoStr = Typo->getName(); in addCorrection()
4022 Name == Typo && !Candidate.WillReplaceSpecifier()); in resolveCorrection()
4065 unsigned TypoLen = Typo->getName().size(); in performQualifiedLookups()
4091 if (QR.getCorrectionAsIdentifierInfo() != Typo && TmpED && in performQualifiedLookups()
4110 OldOStream << Typo->getName(); in performQualifiedLookups()
4485 IdentifierInfo *Typo = TypoName.getName().getAsIdentifierInfo(); in makeTypoCorrectionConsumer() local
4486 if (!Typo) in makeTypoCorrectionConsumer()
4500 if (S && S->isInObjcMethodScope() && Typo == getSuperIdentifier()) in makeTypoCorrectionConsumer()
[all …]
/aosp_15_r20/external/clang/test/Index/
H A Dpreamble-with-implicit-import.m3 // CHECK: error: declaration of 'Typo' must be imported
4 // CHECK: error: declaration of 'Typo' must be imported
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/clang/AST/
DCommentSema.h236 unsigned correctTypoInParmVarReference(StringRef Typo,
244 StringRef Typo,
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/clang/AST/
DCommentSema.h236 unsigned correctTypoInParmVarReference(StringRef Typo,
244 StringRef Typo,
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/clang/AST/
DCommentSema.h236 unsigned correctTypoInParmVarReference(StringRef Typo,
244 StringRef Typo,
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/clang/AST/
DCommentSema.h236 unsigned correctTypoInParmVarReference(StringRef Typo,
244 StringRef Typo,
/aosp_15_r20/external/clang/include/clang/AST/
H A DCommentSema.h235 unsigned correctTypoInParmVarReference(StringRef Typo,
243 StringRef Typo,
/aosp_15_r20/external/clang/test/SemaCXX/
H A Dfunctional-cast.cpp317 typedef itn Typo; // expected-error {{unknown type name 'itn'}} in crash_on_invalid_1() typedef
318 (void)Typo(1); // used to crash in crash_on_invalid_1()
/aosp_15_r20/external/modp_b64/
H A Dcommon.mk496 $(error Typo alert! LIBARY != LIBRARY)
504 $(error Typo alert! LIBARY != LIBRARY)
512 $(error Typo alert! LIBARY != LIBRARY)
520 $(error Typo alert! LIBARY != LIBRARY)
/aosp_15_r20/external/minijail/
H A Dcommon.mk498 $(error Typo alert! LIBARY != LIBRARY)
506 $(error Typo alert! LIBARY != LIBRARY)
514 $(error Typo alert! LIBARY != LIBRARY)
522 $(error Typo alert! LIBARY != LIBRARY)
/aosp_15_r20/external/libultrahdr/third_party/image_io/src/modp_b64/
H A Dcommon.mk496 $(error Typo alert! LIBARY != LIBRARY)
504 $(error Typo alert! LIBARY != LIBRARY)
512 $(error Typo alert! LIBARY != LIBRARY)
520 $(error Typo alert! LIBARY != LIBRARY)
/aosp_15_r20/external/minigbm/
H A Dcommon.mk513 $(error Typo alert! LIBARY != LIBRARY)
521 $(error Typo alert! LIBARY != LIBRARY)
529 $(error Typo alert! LIBARY != LIBRARY)
537 $(error Typo alert! LIBARY != LIBRARY)
/aosp_15_r20/external/clang/test/SemaObjC/
H A Dparameterized_classes.m226 // Typo correction: protocol bias.
229 // Typo correction: type bias.
233 // Typo correction: bias set by correction itself to a protocol.
236 // Typo correction: bias set by correction itself to a type.

12345