Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A 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
H A DSemaInternal.h98 : Typo(TypoName.getName().getAsIdentifierInfo()), CurrentTCIndex(0), in TypoCorrectionConsumer()
296 IdentifierInfo *Typo; variable
H A DExternalSemaSource.h212 virtual TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo, in CorrectTypo() argument
H A DMultiplexExternalSemaSource.h344 TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo,
H A DSema.h4088 makeTypoCorrectionConsumer(const DeclarationNameInfo &Typo,
4187 TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo,
4197 TypoExpr *CorrectTypoDelayed(const DeclarationNameInfo &Typo,
4537 TypoCorrection FailedCorrection(IdentifierInfo *Typo, SourceLocation TypoLoc,
4540 TypoCorrectionFailures[Typo].insert(TypoLoc);
/freebsd-13.1/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()
H A DCommentSema.cpp1049 StringRef Typo; member in clang::comments::__anon759a9bde0211::SimpleTypoCorrector
1057 explicit SimpleTypoCorrector(StringRef Typo) in SimpleTypoCorrector() argument
1058 : BestDecl(nullptr), Typo(Typo), MaxEditDistance((Typo.size() + 2) / 3), in SimpleTypoCorrector()
1084 unsigned MinPossibleEditDistance = abs((int)Name.size() - (int)Typo.size()); in addDecl()
1086 Typo.size() / MinPossibleEditDistance < 3) in addDecl()
1089 unsigned EditDistance = Typo.edit_distance(Name, true, MaxEditDistance); in addDecl()
1099 StringRef Typo, in correctTypoInParmVarReference() argument
1101 SimpleTypoCorrector Corrector(Typo); in correctTypoInParmVarReference()
1164 StringRef Typo, in correctTypoInTParamReference() argument
1166 SimpleTypoCorrector Corrector(Typo); in correctTypoInTParamReference()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DCommentSema.h241 unsigned correctTypoInParmVarReference(StringRef Typo,
249 StringRef Typo,
H A DCommentCommandTraits.h151 const CommandInfo *getTypoCorrectCommandInfo(StringRef Typo) const;
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp4244 if (!LookupResult::isVisible(SemaRef, ND) && Name != Typo) in FoundDecl()
4266 StringRef TypoStr = Typo->getName(); in addName()
4286 StringRef TypoStr = Typo->getName(); in addCorrection()
4439 unsigned TypoLen = Typo->getName().size(); in performQualifiedLookups()
4465 if (QR.getCorrectionAsIdentifierInfo() != Typo && TmpED && in performQualifiedLookups()
4484 OldOStream << Typo->getName(); in performQualifiedLookups()
4858 IdentifierInfo *Typo = TypoName.getName().getAsIdentifierInfo(); in makeTypoCorrectionConsumer() local
4859 if (!Typo) in makeTypoCorrectionConsumer()
4900 getModuleLoader().lookupMissingImports(Typo->getName(), in makeTypoCorrectionConsumer()
5054 unsigned TypoLen = Typo->getName().size(); in CorrectTypo()
[all …]
H A DMultiplexExternalSemaSource.cpp315 const DeclarationNameInfo &Typo, in CorrectTypo() argument
322 if (TypoCorrection C = Sources[I]->CorrectTypo(Typo, LookupKind, S, SS, CCC, in CorrectTypo()
H A DSemaExprMember.cpp690 DeclarationName Typo = R.getLookupName(); in LookupMemberExprInRecord() local
710 Typo.getAsString() == TC.getAsString(SemaRef.getLangOpts()); in LookupMemberExprInRecord()
712 << Typo << DC << DroppedSpecifier in LookupMemberExprInRecord()
715 SemaRef.Diag(TypoLoc, diag::err_no_member) << Typo << DC << BaseRange; in LookupMemberExprInRecord()
H A DSema.cpp1069 for (const auto &Typo : DelayedTypos) { in ActOnEndOfTranslationUnitFragment() local
1071 Typo.second.DiagHandler(TypoCorrection()); in ActOnEndOfTranslationUnitFragment()
H A DSemaDeclObjC.cpp3659 StringRef Typo, const ObjCMethodDecl * Method) { in HelperSelectorsForTypoCorrection() argument
3664 unsigned MinPossibleEditDistance = abs((int)MethodName.size() - (int)Typo.size()); in HelperSelectorsForTypoCorrection()
3666 Typo.size() / MinPossibleEditDistance < 1) in HelperSelectorsForTypoCorrection()
3668 unsigned EditDistance = Typo.edit_distance(MethodName, true, MaxEditDistance); in HelperSelectorsForTypoCorrection()
H A DSemaExpr.cpp2113 DeclarationName Typo, SourceLocation TypoLoc, ArrayRef<Expr *> Args, in emitEmptyLookupTypoDiagnostic() argument
2121 SemaRef.Diag(TypoLoc, diag::err_no_member) << Typo << Ctx in emitEmptyLookupTypoDiagnostic()
2124 SemaRef.Diag(TypoLoc, DiagnosticID) << Typo; in emitEmptyLookupTypoDiagnostic()
2130 TC.WillReplaceSpecifier() && Typo.getAsString() == CorrectedStr; in emitEmptyLookupTypoDiagnostic()
2135 SemaRef.diagnoseTypo(TC, SemaRef.PDiag(DiagnosticSuggestID) << Typo, in emitEmptyLookupTypoDiagnostic()
2139 << Typo << Ctx << DroppedSpecifier in emitEmptyLookupTypoDiagnostic()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTUtils.h545 CorrectTypo(const clang::DeclarationNameInfo &Typo, int LookupKind, in CorrectTypo() argument
552 Source->CorrectTypo(Typo, LookupKind, S, SS, CCC, in CorrectTypo()
/freebsd-13.1/contrib/ntp/
H A DCommitLog-4.1.087 * html/notes.htm: Typo fix.
92 * html/monopt.htm: Typo fix.
142 * html/ntpd.htm: Typo.
1772 * configure.in (NTP_KEYSDIR): Typo
2242 * acinclude.m4: Typo...
2753 * ntpdate/ntpdate.c (ntpdatemain): Typo
4067 * ntpd/ntp_io.c (create_sockets): Typo.
4242 * ntp_update (UPDATE_OPTIONS): Typo.
5202 * ports/winnt/bldrel.bat: Typo.
5382 * ntpd/ntp_timer.c (timer): Typo.
[all …]
H A DChangeLog42 * [Bug 3634] Typo in discipline.html, reported by Jason Harrison. stenn@
775 * libntp/icom.c: Typo fix. Harlan Stenn.
783 * Typo fix for GCC warning suppression. Harlan Stenn.
2192 * Typo in emalloc.c hides file and line number from emalloc() error msg.
2843 * Typo fix in a comment in ntp_proto.c.
3026 * [Bug 1514] from 4.2.6p1-RC6: Typo in ntp_proto.c: fabs(foo < .4)
3442 * [Bug 1514] Typo in ntp_proto.c: fabs(foo < .4) should be fabs(foo) < .4.
4098 * Typo fix to driver20.html.
H A DNEWS64 * [Bug 3634] Typo in discipline.html, reported by Jason Harrison. stenn@
2628 * libntp/icom.c: Typo fix. Harlan Stenn.
2636 * Typo fix for GCC warning suppression. Harlan Stenn.
H A DCommitLog21274 Typo
21277 Typo
26840 Typo: Bug 2887 -> Bug 2778
46575 Typo fix
46578 Typo fix
166285 Typo cleanup
166288 Typo cleanup
182156 Typo fix to driver20.html
221867 [Bug 217] Typo in ntptrace
223086 Typo fix from Marc Brett
[all …]
/freebsd-13.1/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-13.1/contrib/ntp/sntp/libevent/
H A DChangeLog321 o Typo fixes from Linus Nordberg (cec62cb, 8cd695b)
/freebsd-13.1/contrib/libevent/
H A DChangeLog768 o Typo fixes from Linus Nordberg (cec62cb, 8cd695b)
/freebsd-13.1/contrib/ncurses/misc/
H A Dterminfo.src24591 # * Typo fixes.