Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
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()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp4506 if (!LookupResult::isVisible(SemaRef, ND) && Name != Typo) in FoundDecl()
4528 StringRef TypoStr = Typo->getName(); in addName()
4548 StringRef TypoStr = Typo->getName(); in addCorrection()
4675 Name == Typo && !Candidate.WillReplaceSpecifier()); in resolveCorrection()
4718 unsigned TypoLen = Typo->getName().size(); in performQualifiedLookups()
4744 if (QR.getCorrectionAsIdentifierInfo() != Typo && TmpED && in performQualifiedLookups()
4763 OldOStream << Typo->getName(); in performQualifiedLookups()
5135 IdentifierInfo *Typo = TypoName.getName().getAsIdentifierInfo(); in makeTypoCorrectionConsumer() local
5136 if (!Typo) in makeTypoCorrectionConsumer()
5149 if (S && S->isInObjcMethodScope() && Typo == getSuperIdentifier()) in makeTypoCorrectionConsumer()
[all …]
H A DMultiplexExternalSemaSource.cpp321 const DeclarationNameInfo &Typo, in CorrectTypo() argument
328 if (TypoCorrection C = Sources[I]->CorrectTypo(Typo, LookupKind, S, SS, CCC, in CorrectTypo()
H A DSemaExprMember.cpp730 DeclarationName Typo = R.getLookupName(); in LookupMemberExprInRecord() local
753 Typo.getAsString() == TC.getAsString(SemaRef.getLangOpts()); in LookupMemberExprInRecord()
755 << Typo << DC << DroppedSpecifier in LookupMemberExprInRecord()
759 << Typo << DC << (SS.isSet() ? SS.getRange() : BaseRange); in LookupMemberExprInRecord()
H A DSema.cpp1157 for (const auto &Typo : DelayedTypos) { in ActOnEndOfTranslationUnitFragment() local
1159 Typo.second.DiagHandler(TypoCorrection()); in ActOnEndOfTranslationUnitFragment()
H A DSemaDeclObjC.cpp3677 StringRef Typo, const ObjCMethodDecl * Method) { in HelperSelectorsForTypoCorrection() argument
3682 unsigned MinPossibleEditDistance = abs((int)MethodName.size() - (int)Typo.size()); in HelperSelectorsForTypoCorrection()
3684 Typo.size() / MinPossibleEditDistance < 1) in HelperSelectorsForTypoCorrection()
3686 unsigned EditDistance = Typo.edit_distance(MethodName, true, MaxEditDistance); in HelperSelectorsForTypoCorrection()
H A DSemaExpr.cpp2344 DeclarationName Typo, SourceLocation TypoLoc, ArrayRef<Expr *> Args, in emitEmptyLookupTypoDiagnostic() argument
2352 SemaRef.Diag(TypoLoc, diag::err_no_member) << Typo << Ctx in emitEmptyLookupTypoDiagnostic()
2355 SemaRef.Diag(TypoLoc, DiagnosticID) << Typo; in emitEmptyLookupTypoDiagnostic()
2361 TC.WillReplaceSpecifier() && Typo.getAsString() == CorrectedStr; in emitEmptyLookupTypoDiagnostic()
2366 SemaRef.diagnoseTypo(TC, SemaRef.PDiag(DiagnosticSuggestID) << Typo, in emitEmptyLookupTypoDiagnostic()
2370 << Typo << Ctx << DroppedSpecifier in emitEmptyLookupTypoDiagnostic()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
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.h343 TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo,
H A DSema.h9427 TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo,
9475 const DeclarationNameInfo &Typo, Sema::LookupNameKind LookupKind,
9539 const DeclarationNameInfo &Typo, Sema::LookupNameKind LookupKind,
9556 TypoCorrection FailedCorrection(IdentifierInfo *Typo, SourceLocation TypoLoc,
9559 TypoCorrectionFailures[Typo].insert(TypoLoc);
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTUtils.h552 CorrectTypo(const clang::DeclarationNameInfo &Typo, int LookupKind, in CorrectTypo() argument
559 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/ncurses/misc/
H A Dterminfo.src25336 # * Typo fixes.