Home
last modified time | relevance | path

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

12

/external/clang/include/clang/Sema/
DTypoCorrection.h250 explicit CorrectionCandidateCallback(IdentifierInfo *Typo = nullptr,
255 IsObjCIvarLookup(false), IsAddressOfOperand(false), Typo(Typo), in WantTypeSpecifiers()
284 void setTypoName(IdentifierInfo *II) { Typo = II; } in setTypoName()
303 return Typo && candidate.isResolved() && !candidate.requiresImport() && in MatchesTypo()
304 candidate.getCorrectionAsIdentifierInfo() == Typo && in MatchesTypo()
310 IdentifierInfo *Typo; variable
DSemaInternal.h103 : Typo(TypoName.getName().getAsIdentifierInfo()), CurrentTCIndex(0), in TypoCorrectionConsumer()
293 IdentifierInfo *Typo; variable
DExternalSemaSource.h194 virtual TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo, in CorrectTypo() argument
DMultiplexExternalSemaSource.h339 TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo,
DSema.h2571 makeTypoCorrectionConsumer(const DeclarationNameInfo &Typo,
2654 TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo,
2664 TypoExpr *CorrectTypoDelayed(const DeclarationNameInfo &Typo,
2937 TypoCorrection FailedCorrection(IdentifierInfo *Typo, SourceLocation TypoLoc,
2940 TypoCorrectionFailures[Typo].insert(TypoLoc);
/external/clang/lib/AST/
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()
DCommentSema.cpp955 StringRef Typo; member in clang::comments::__anon5185a10c0211::SimpleTypoCorrector
964 SimpleTypoCorrector(StringRef Typo) : in SimpleTypoCorrector() argument
965 Typo(Typo), MaxEditDistance((Typo.size() + 2) / 3), in SimpleTypoCorrector()
993 unsigned MinPossibleEditDistance = abs((int)Name.size() - (int)Typo.size()); in addDecl()
995 Typo.size() / MinPossibleEditDistance < 3) in addDecl()
998 unsigned EditDistance = Typo.edit_distance(Name, true, MaxEditDistance); in addDecl()
1008 StringRef Typo, in correctTypoInParmVarReference() argument
1010 SimpleTypoCorrector Corrector(Typo); in correctTypoInParmVarReference()
1073 StringRef Typo, in correctTypoInTParamReference() argument
1075 SimpleTypoCorrector Corrector(Typo); in correctTypoInTParamReference()
/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp104 TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo, int LookupKind, in CorrectTypo() argument
110 if (CurrentSema && Typo.getName().getAsString() == CorrectFrom) { in CorrectTypo()
120 NamespaceDecl::Create(Context, DestContext, false, Typo.getBeginLoc(), in CorrectTypo()
121 Typo.getLoc(), ToIdent, nullptr); in CorrectTypo()
/external/clang/lib/Sema/
DSemaLookup.cpp3462 if (!LookupResult::isVisible(SemaRef, ND) && Name != Typo && in FoundDecl()
3485 StringRef TypoStr = Typo->getName(); in addName()
3505 StringRef TypoStr = Typo->getName(); in addCorrection()
3610 Name == Typo && !Candidate.WillReplaceSpecifier()); in resolveCorrection()
3653 unsigned TypoLen = Typo->getName().size(); in performQualifiedLookups()
3678 if (QR.getCorrectionAsIdentifierInfo() != Typo && TmpED && in performQualifiedLookups()
3697 OldOStream << Typo->getName(); in performQualifiedLookups()
4076 IdentifierInfo *Typo = TypoName.getName().getAsIdentifierInfo(); in makeTypoCorrectionConsumer() local
4077 if (!Typo) in makeTypoCorrectionConsumer()
4091 if (S && S->isInObjcMethodScope() && Typo == getSuperIdentifier()) in makeTypoCorrectionConsumer()
[all …]
DMultiplexExternalSemaSource.cpp285 const DeclarationNameInfo &Typo, in CorrectTypo() argument
292 if (TypoCorrection C = Sources[I]->CorrectTypo(Typo, LookupKind, S, SS, CCC, in CorrectTypo()
DSemaExprMember.cpp651 DeclarationName Typo = R.getLookupName(); in LookupMemberExprInRecord() local
662 Typo.getAsString() == TC.getAsString(SemaRef.getLangOpts()); in LookupMemberExprInRecord()
664 << Typo << DC << DroppedSpecifier in LookupMemberExprInRecord()
667 SemaRef.Diag(TypoLoc, diag::err_no_member) << Typo << DC << BaseRange; in LookupMemberExprInRecord()
DSemaDeclObjC.cpp2472 StringRef Typo, const ObjCMethodDecl * Method) { in HelperSelectorsForTypoCorrection() argument
2477 unsigned MinPossibleEditDistance = abs((int)MethodName.size() - (int)Typo.size()); in HelperSelectorsForTypoCorrection()
2479 Typo.size() / MinPossibleEditDistance < 1) in HelperSelectorsForTypoCorrection()
2481 unsigned EditDistance = Typo.edit_distance(MethodName, true, MaxEditDistance); in HelperSelectorsForTypoCorrection()
DSemaExpr.cpp1727 DeclarationName Typo, SourceLocation TypoLoc, ArrayRef<Expr *> Args, in emitEmptyLookupTypoDiagnostic() argument
1735 SemaRef.Diag(TypoLoc, diag::err_no_member) << Typo << Ctx in emitEmptyLookupTypoDiagnostic()
1738 SemaRef.Diag(TypoLoc, DiagnosticID) << Typo; in emitEmptyLookupTypoDiagnostic()
1744 TC.WillReplaceSpecifier() && Typo.getAsString() == CorrectedStr; in emitEmptyLookupTypoDiagnostic()
1750 SemaRef.diagnoseTypo(TC, SemaRef.PDiag(DiagnosticSuggestID) << Typo, in emitEmptyLookupTypoDiagnostic()
1754 << Typo << Ctx << DroppedSpecifier in emitEmptyLookupTypoDiagnostic()
/external/clang/test/SemaCXX/
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()
/external/clang/include/clang/AST/
DCommentSema.h239 unsigned correctTypoInParmVarReference(StringRef Typo,
247 StringRef Typo,
DCommentCommandTraits.h152 const CommandInfo *getTypoCorrectCommandInfo(StringRef Typo) const;
/external/clang/test/CXX/except/except.spec/
Dp14.cpp112 Typo foo(); // expected-error{{unknown type name 'Typo'}}
/external/elfutils/src/backends/
DChangeLog325 * i386_retval.c (loc_intreg): Typo fix.
636 * ia64_symbol.c (ia64_section_type_name): Typo fix in string.
/external/valgrind/docs/internals/
D3_3_BUGSTATUS.txt96 163910 LOW pend Typo in Helgrind's Documentation
/external/harfbuzz_ng/
DNEWS231 - Typo in ucdn's Makefile.am
/external/elfutils/src/src/
DChangeLog209 * readelf.c (handle_relocs_rela): Typo fix, test DESTSHDR properly.
2142 * readelf.c (print_strings): Typo fix.
2406 * readelf.c (handle_relocs_rel): Typo fix, test DESTSHDR properly.
/external/iputils/
DRELNOTES52 arping: Typo in type declaration.
/external/bison/
DChangeLog-19981385 * src/reduce.c (print_notices): Typo in message.
/external/elfutils/src/tests/
DChangeLog1267 * run-elflint-test.sh: Typo fix.
/external/elfutils/src/libdwfl/
DChangeLog1427 * dwfl_getmodules.c (dwfl_getmodules): Typo fix in last change.

12