Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A 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
H A DSemaInternal.h98 : Typo(TypoName.getName().getAsIdentifierInfo()), CurrentTCIndex(0), in TypoCorrectionConsumer()
296 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.h4518 makeTypoCorrectionConsumer(const DeclarationNameInfo &Typo,
4617 TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo,
4627 TypoExpr *CorrectTypoDelayed(const DeclarationNameInfo &Typo,
5047 TypoCorrection FailedCorrection(IdentifierInfo *Typo, SourceLocation TypoLoc,
5050 TypoCorrectionFailures[Typo].insert(TypoLoc);
/freebsd-14.2/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.cpp983 StringRef Typo; member in clang::comments::__anonbe819ce00211::SimpleTypoCorrector
991 explicit SimpleTypoCorrector(StringRef Typo) in SimpleTypoCorrector() argument
992 : BestDecl(nullptr), Typo(Typo), MaxEditDistance((Typo.size() + 2) / 3), in SimpleTypoCorrector()
1018 unsigned MinPossibleEditDistance = abs((int)Name.size() - (int)Typo.size()); in addDecl()
1020 Typo.size() / MinPossibleEditDistance < 3) in addDecl()
1023 unsigned EditDistance = Typo.edit_distance(Name, true, MaxEditDistance); in addDecl()
1033 StringRef Typo, in correctTypoInParmVarReference() argument
1035 SimpleTypoCorrector Corrector(Typo); in correctTypoInParmVarReference()
1098 StringRef Typo, in correctTypoInTParamReference() argument
1100 SimpleTypoCorrector Corrector(Typo); in correctTypoInTParamReference()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DCommentSema.h236 unsigned correctTypoInParmVarReference(StringRef Typo,
244 StringRef Typo,
H A DCommentCommandTraits.h151 const CommandInfo *getTypoCorrectCommandInfo(StringRef Typo) const;
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp4575 if (!LookupResult::isVisible(SemaRef, ND) && Name != Typo) in FoundDecl()
4597 StringRef TypoStr = Typo->getName(); in addName()
4617 StringRef TypoStr = Typo->getName(); in addCorrection()
4787 unsigned TypoLen = Typo->getName().size(); in performQualifiedLookups()
4813 if (QR.getCorrectionAsIdentifierInfo() != Typo && TmpED && in performQualifiedLookups()
4832 OldOStream << Typo->getName(); in performQualifiedLookups()
5200 IdentifierInfo *Typo = TypoName.getName().getAsIdentifierInfo(); in makeTypoCorrectionConsumer() local
5201 if (!Typo) in makeTypoCorrectionConsumer()
5242 getModuleLoader().lookupMissingImports(Typo->getName(), in makeTypoCorrectionConsumer()
5396 unsigned TypoLen = Typo->getName().size(); in CorrectTypo()
[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.cpp723 DeclarationName Typo = R.getLookupName(); in LookupMemberExprInRecord() local
743 Typo.getAsString() == TC.getAsString(SemaRef.getLangOpts()); in LookupMemberExprInRecord()
745 << Typo << DC << DroppedSpecifier in LookupMemberExprInRecord()
748 SemaRef.Diag(TypoLoc, diag::err_no_member) << Typo << DC << BaseRange; in LookupMemberExprInRecord()
H A DSemaDeclObjC.cpp3674 StringRef Typo, const ObjCMethodDecl * Method) { in HelperSelectorsForTypoCorrection() argument
3679 unsigned MinPossibleEditDistance = abs((int)MethodName.size() - (int)Typo.size()); in HelperSelectorsForTypoCorrection()
3681 Typo.size() / MinPossibleEditDistance < 1) in HelperSelectorsForTypoCorrection()
3683 unsigned EditDistance = Typo.edit_distance(MethodName, true, MaxEditDistance); in HelperSelectorsForTypoCorrection()
H A DSema.cpp1100 for (const auto &Typo : DelayedTypos) { in ActOnEndOfTranslationUnitFragment() local
1102 Typo.second.DiagHandler(TypoCorrection()); in ActOnEndOfTranslationUnitFragment()
H A DSemaExpr.cpp2368 DeclarationName Typo, SourceLocation TypoLoc, ArrayRef<Expr *> Args, in emitEmptyLookupTypoDiagnostic() argument
2376 SemaRef.Diag(TypoLoc, diag::err_no_member) << Typo << Ctx in emitEmptyLookupTypoDiagnostic()
2379 SemaRef.Diag(TypoLoc, DiagnosticID) << Typo; in emitEmptyLookupTypoDiagnostic()
2385 TC.WillReplaceSpecifier() && Typo.getAsString() == CorrectedStr; in emitEmptyLookupTypoDiagnostic()
2390 SemaRef.diagnoseTypo(TC, SemaRef.PDiag(DiagnosticSuggestID) << Typo, in emitEmptyLookupTypoDiagnostic()
2394 << Typo << Ctx << DroppedSpecifier in emitEmptyLookupTypoDiagnostic()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTUtils.h546 CorrectTypo(const clang::DeclarationNameInfo &Typo, int LookupKind, in CorrectTypo() argument
553 Source->CorrectTypo(Typo, LookupKind, S, SS, CCC, in CorrectTypo()
/freebsd-14.2/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 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
30630 Typo
30633 Typo
36196 Typo: Bug 2887 -> Bug 2778
55931 Typo fix
55934 Typo fix
175641 Typo cleanup
175644 Typo cleanup
191512 Typo fix to driver20.html
[all …]
/freebsd-14.2/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-14.2/contrib/ntp/sntp/libevent/
H A DChangeLog1081 o Typo fixes from Linus Nordberg (cec62cb, 8cd695b)
/freebsd-14.2/contrib/libevent/
H A DChangeLog1081 o Typo fixes from Linus Nordberg (cec62cb, 8cd695b)
/freebsd-14.2/contrib/xz/
H A DChangeLog8657 Typo fixes from fossies.org.
/freebsd-14.2/contrib/ncurses/misc/
H A Dterminfo.src25336 # * Typo fixes.