Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSimpleTypoCorrection.h26 StringRef Typo; variable
34 explicit SimpleTypoCorrection(StringRef Typo) in SimpleTypoCorrection() argument
35 : BestCandidate(), Typo(Typo), MaxEditDistance((Typo.size() + 2) / 3), in SimpleTypoCorrection()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSimpleTypoCorrection.cpp26 abs(static_cast<int>(Candidate.size()) - static_cast<int>(Typo.size())); in add()
28 if (MinPossibleEditDistance > 0 && Typo.size() / MinPossibleEditDistance < 3) in add()
31 unsigned EditDistance = Typo.edit_distance( in add()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DCommentCommandTraits.cpp46 CommandTraits::getTypoCorrectCommandInfo(StringRef Typo) const { in getTypoCorrectCommandInfo()
49 if (Typo.size() <= 1) in getTypoCorrectCommandInfo()
61 unsigned MinPossibleEditDistance = abs((int)Name.size() - (int)Typo.size()); in getTypoCorrectCommandInfo()
63 unsigned EditDistance = Typo.edit_distance(Name, true, BestEditDistance); in getTypoCorrectCommandInfo()
H A DCommentSema.cpp982 Sema::correctTypoInParmVarReference(StringRef Typo, in correctTypoInParmVarReference() argument
984 SimpleTypoCorrection STC(Typo); in correctTypoInParmVarReference()
1055 StringRef Typo, in correctTypoInTParamReference() argument
1057 SimpleTypoCorrection STC(Typo); in correctTypoInTParamReference()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DCommentSema.h236 unsigned correctTypoInParmVarReference(StringRef Typo,
244 StringRef Typo,
H A DCommentCommandTraits.h173 const CommandInfo *getTypoCorrectCommandInfo(StringRef Typo) const;
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaInternal.h94 : Typo(TypoName.getName().getAsIdentifierInfo()), CurrentTCIndex(0), in TypoCorrectionConsumer()
292 IdentifierInfo *Typo; variable
H A DExternalSemaSource.h210 virtual TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo, in CorrectTypo() argument
H A DMultiplexExternalSemaSource.h352 TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo,
H A DSema.h9691 TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo,
9744 const DeclarationNameInfo &Typo, Sema::LookupNameKind LookupKind,
9753 TypoCorrection FailedCorrection(IdentifierInfo *Typo, SourceLocation TypoLoc,
9756 TypoCorrectionFailures[Typo].insert(TypoLoc);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp4600 if (!LookupResult::isVisible(SemaRef, ND) && Name != Typo) in FoundDecl()
4622 StringRef TypoStr = Typo->getName(); in addName()
4642 StringRef TypoStr = Typo->getName(); in addCorrection()
4769 Name == Typo && !Candidate.WillReplaceSpecifier()); in resolveCorrection()
4812 unsigned TypoLen = Typo->getName().size(); in performQualifiedLookups()
4838 if (QR.getCorrectionAsIdentifierInfo() != Typo && TmpED && in performQualifiedLookups()
4857 OldOStream << Typo->getName(); in performQualifiedLookups()
5227 IdentifierInfo *Typo = TypoName.getName().getAsIdentifierInfo(); in makeTypoCorrectionConsumer() local
5228 if (!Typo) in makeTypoCorrectionConsumer()
5241 if (S && S->isInObjcMethodScope() && Typo == getSuperIdentifier()) in makeTypoCorrectionConsumer()
[all …]
H A DMultiplexExternalSemaSource.cpp348 const DeclarationNameInfo &Typo, in CorrectTypo() argument
355 if (TypoCorrection C = Sources[I]->CorrectTypo(Typo, LookupKind, S, SS, CCC, in CorrectTypo()
H A DSemaDeclObjC.cpp3679 StringRef Typo, const ObjCMethodDecl * Method) { in HelperSelectorsForTypoCorrection() argument
3684 unsigned MinPossibleEditDistance = abs((int)MethodName.size() - (int)Typo.size()); in HelperSelectorsForTypoCorrection()
3686 Typo.size() / MinPossibleEditDistance < 1) in HelperSelectorsForTypoCorrection()
3688 unsigned EditDistance = Typo.edit_distance(MethodName, true, MaxEditDistance); in HelperSelectorsForTypoCorrection()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTUtils.h608 CorrectTypo(const clang::DeclarationNameInfo &Typo, int LookupKind, in CorrectTypo() argument
615 Source->CorrectTypo(Typo, LookupKind, S, SS, CCC, in CorrectTypo()
/freebsd/contrib/ntp/
H A DCommitLog-4.1.087 * html/notes.htm: Typo fix.
92 * html/monopt.htm: Typo fix.
142 * html/ntpd.htm: Typo.
1132 Typo grabbing the dtemp value and in the sdisp calculation.
1664 * ntpd/refclock_atom.c (atom_shutdown): Typo
1772 * configure.in (NTP_KEYSDIR): Typo
1869 * ntpd/ntp_loopfilter.c (local_clock): Typo
2242 * acinclude.m4: Typo...
2656 * librsaref/Makefile.am (stamp-rsaref): Typo
2725 * ports/winnt/include/config.h: Typo (CLOCK_PALISADE comment)
[all …]
H A DChangeLog282 * [Bug 3634] Typo in discipline.html, reported by Jason Harrison. stenn@
1015 * libntp/icom.c: Typo fix. Harlan Stenn.
1023 * Typo fix for GCC warning suppression. Harlan Stenn.
2432 * Typo in emalloc.c hides file and line number from emalloc() error msg.
3083 * Typo fix in a comment in ntp_proto.c.
3266 * [Bug 1514] from 4.2.6p1-RC6: Typo in ntp_proto.c: fabs(foo < .4)
3682 * [Bug 1514] Typo in ntp_proto.c: fabs(foo < .4) should be fabs(foo) < .4.
4338 * Typo fix to driver20.html.
H A DNEWS348 * [Bug 3634] Typo in discipline.html, reported by Jason Harrison. stenn@
2912 * libntp/icom.c: Typo fix. Harlan Stenn.
2920 * Typo fix for GCC warning suppression. Harlan Stenn.
4114 * [Bug 3634] Typo in discipline.html, reported by Jason Harrison. stenn@
6678 * libntp/icom.c: Typo fix. Harlan Stenn.
6686 * Typo fix for GCC warning suppression. Harlan Stenn.
H A DCommitLog2501 Typo broke Linux build.
4855 Typo
11359 [Bug 3634] Typo in discipline.html, reported by Jason Harrison.
11362 [Bug 3634] Typo in discipline.html, reported by Jason Harrison.
11365 [Bug 3634] Typo in discipline.html, reported by Jason Harrison.
29707 Typo fix for GCC warning suppression. Harlan Stenn.
29710 Typo fix for GCC warning suppression. Harlan Stenn.
29713 Typo fix for GCC warning suppression. Harlan Stenn.
29716 Typo fix for GCC warning suppression. Harlan Stenn.
30630 Typo
[all...]
/freebsd/contrib/tcsh/
H A DFixes716 43. Typo s/gycwin/cygwin/ in tc.os.h (Andreas Schott)
1013 9. Typo in tc.bind.c [with -DOBSOLETE] (misplaced parenthesis)
1023 2. Typo in Imakefile (# comment instead of c comment)
1024 1. Typo in ma.setp.c (missing parenthesis)
1407 28. Typo in the $HOME->$home mirroring.
1474 85. Typo in sh.exec.c from Harry.
1726 5. Typo in tc.sig.h: UNRELSIGS was not getting defined.
/freebsd/contrib/ntp/sntp/libevent/
H A DChangeLog1081 o Typo fixes from Linus Nordberg (cec62cb, 8cd695b)
/freebsd/contrib/libevent/
H A DChangeLog1081 o Typo fixes from Linus Nordberg (cec62cb, 8cd695b)
/freebsd/contrib/libedit/
H A DChangeLog4412 * history.c: PR/26725: Sergey S. Kostyliov: Typo in libedit,
/freebsd/crypto/openssh/
H A DChangeLog1304 upstream: Typo fixes, mostly in comments.
/freebsd/contrib/ncurses/misc/
H A Dterminfo.src25733 # * Typo fixes.