Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DTypoCorrection.h286 explicit CorrectionCandidateCallback(IdentifierInfo *Typo = nullptr,
288 : Typo(Typo), TypoNNS(TypoNNS) {} in Typo() function
316 void setTypoName(IdentifierInfo *II) { Typo = II; } in setTypoName()
335 return Typo && candidate.isResolved() && !candidate.requiresImport() && in MatchesTypo()
336 candidate.getCorrectionAsIdentifierInfo() == Typo && in MatchesTypo()
342 IdentifierInfo *Typo; variable
H A DSemaInternal.h138 : Typo(TypoName.getName().getAsIdentifierInfo()), CurrentTCIndex(0), in TypoCorrectionConsumer()
331 IdentifierInfo *Typo; variable
H A DExternalSemaSource.h203 virtual TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo, in CorrectTypo() argument
H A DMultiplexExternalSemaSource.h336 TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo,
H A DSema.h3191 makeTypoCorrectionConsumer(const DeclarationNameInfo &Typo,
3275 TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo,
3285 TypoExpr *CorrectTypoDelayed(const DeclarationNameInfo &Typo,
3608 TypoCorrection FailedCorrection(IdentifierInfo *Typo, SourceLocation TypoLoc,
3611 TypoCorrectionFailures[Typo].insert(TypoLoc);
/freebsd-12.1/contrib/llvm/tools/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.cpp988 StringRef Typo; member in clang::comments::__anon75f4a8790211::SimpleTypoCorrector
996 explicit SimpleTypoCorrector(StringRef Typo) in SimpleTypoCorrector() argument
997 : BestDecl(nullptr), Typo(Typo), MaxEditDistance((Typo.size() + 2) / 3), in SimpleTypoCorrector()
1023 unsigned MinPossibleEditDistance = abs((int)Name.size() - (int)Typo.size()); in addDecl()
1025 Typo.size() / MinPossibleEditDistance < 3) in addDecl()
1028 unsigned EditDistance = Typo.edit_distance(Name, true, MaxEditDistance); in addDecl()
1038 StringRef Typo, in correctTypoInParmVarReference() argument
1040 SimpleTypoCorrector Corrector(Typo); in correctTypoInParmVarReference()
1103 StringRef Typo, in correctTypoInTParamReference() argument
1105 SimpleTypoCorrector Corrector(Typo); in correctTypoInTParamReference()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DCommentSema.h239 unsigned correctTypoInParmVarReference(StringRef Typo,
247 StringRef Typo,
H A DCommentCommandTraits.h152 const CommandInfo *getTypoCorrectCommandInfo(StringRef Typo) const;
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaLookup.cpp3955 if (!LookupResult::isVisible(SemaRef, ND) && Name != Typo) in FoundDecl()
3977 StringRef TypoStr = Typo->getName(); in addName()
3997 StringRef TypoStr = Typo->getName(); in addCorrection()
4150 unsigned TypoLen = Typo->getName().size(); in performQualifiedLookups()
4176 if (QR.getCorrectionAsIdentifierInfo() != Typo && TmpED && in performQualifiedLookups()
4195 OldOStream << Typo->getName(); in performQualifiedLookups()
4571 IdentifierInfo *Typo = TypoName.getName().getAsIdentifierInfo(); in makeTypoCorrectionConsumer() local
4572 if (!Typo) in makeTypoCorrectionConsumer()
4613 getModuleLoader().lookupMissingImports(Typo->getName(), in makeTypoCorrectionConsumer()
4762 unsigned TypoLen = Typo->getName().size(); in CorrectTypo()
[all …]
H A DMultiplexExternalSemaSource.cpp316 const DeclarationNameInfo &Typo, in CorrectTypo() argument
323 if (TypoCorrection C = Sources[I]->CorrectTypo(Typo, LookupKind, S, SS, CCC, in CorrectTypo()
H A DSemaExprMember.cpp689 DeclarationName Typo = R.getLookupName(); in LookupMemberExprInRecord() local
709 Typo.getAsString() == TC.getAsString(SemaRef.getLangOpts()); in LookupMemberExprInRecord()
711 << Typo << DC << DroppedSpecifier in LookupMemberExprInRecord()
714 SemaRef.Diag(TypoLoc, diag::err_no_member) << Typo << DC << BaseRange; in LookupMemberExprInRecord()
H A DSemaDeclObjC.cpp3622 StringRef Typo, const ObjCMethodDecl * Method) { in HelperSelectorsForTypoCorrection() argument
3627 unsigned MinPossibleEditDistance = abs((int)MethodName.size() - (int)Typo.size()); in HelperSelectorsForTypoCorrection()
3629 Typo.size() / MinPossibleEditDistance < 1) in HelperSelectorsForTypoCorrection()
3631 unsigned EditDistance = Typo.edit_distance(MethodName, true, MaxEditDistance); in HelperSelectorsForTypoCorrection()
H A DSemaExpr.cpp1784 DeclarationName Typo, SourceLocation TypoLoc, ArrayRef<Expr *> Args, in emitEmptyLookupTypoDiagnostic() argument
1792 SemaRef.Diag(TypoLoc, diag::err_no_member) << Typo << Ctx in emitEmptyLookupTypoDiagnostic()
1795 SemaRef.Diag(TypoLoc, DiagnosticID) << Typo; in emitEmptyLookupTypoDiagnostic()
1801 TC.WillReplaceSpecifier() && Typo.getAsString() == CorrectedStr; in emitEmptyLookupTypoDiagnostic()
1806 SemaRef.diagnoseTypo(TC, SemaRef.PDiag(DiagnosticSuggestID) << Typo, in emitEmptyLookupTypoDiagnostic()
1810 << Typo << Ctx << DroppedSpecifier in emitEmptyLookupTypoDiagnostic()
/freebsd-12.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 DChangeLog13 * [Bug 3634] Typo in discipline.html, reported by Jason Harrison. stenn@
746 * libntp/icom.c: Typo fix. Harlan Stenn.
754 * Typo fix for GCC warning suppression. Harlan Stenn.
2163 * Typo in emalloc.c hides file and line number from emalloc() error msg.
2814 * Typo fix in a comment in ntp_proto.c.
2997 * [Bug 1514] from 4.2.6p1-RC6: Typo in ntp_proto.c: fabs(foo < .4)
3413 * [Bug 1514] Typo in ntp_proto.c: fabs(foo < .4) should be fabs(foo) < .4.
4069 * Typo fix to driver20.html.
H A DNEWS26 * [Bug 3634] Typo in discipline.html, reported by Jason Harrison. stenn@
2590 * libntp/icom.c: Typo fix. Harlan Stenn.
2598 * Typo fix for GCC warning suppression. Harlan Stenn.
/freebsd-12.1/contrib/tcsh/
H A DFixes670 43. Typo s/gycwin/cygwin/ in tc.os.h (Andreas Schott)
967 9. Typo in tc.bind.c [with -DOBSOLETE] (misplaced parenthesis)
977 2. Typo in Imakefile (# comment instead of c comment)
978 1. Typo in ma.setp.c (missing parenthesis)
1361 28. Typo in the $HOME->$home mirroring.
1428 85. Typo in sh.exec.c from Harry.
1680 5. Typo in tc.sig.h: UNRELSIGS was not getting defined.
/freebsd-12.1/gnu/usr.bin/grep/
H A DChangeLog381 * src/dfa.c: Typo corrected.
557 * doc/grep.texi: Typo fixes.
1621 * doc/grep.texi (Introduction): Typo fixed.
1681 * src/grep.c : Typo in contex -->context
1749 * src/grep.c : Typo s/infalid/invalid/
/freebsd-12.1/contrib/binutils/ld/
H A DChangeLog-0203574 * ld.texinfo: Typo fixes. Document SUBALIGN.
2582 * ldlang.c (section_already_linked): Call bfd_discard_group. Typo fix.
2953 * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.
/freebsd-12.1/contrib/gcc/cp/
H A DChangeLog-200160 * class.c (delete_duplicate_fields_1): Typo.
3454 * call.c (build_conv): Typo in comment.
/freebsd-12.1/contrib/binutils/gas/
H A DChangeLog-00011658 (mips_ip): Likewise. Typo.
1666 (macro): Likewise. Code cleanup. Typo.
1668 (md_parse_option): Typo.
6039 * config/obj-coff.c (obj_coff_weak): Typo fix: Change BFD_ASSEMLER
/freebsd-12.1/contrib/gcc/
H A DChangeLog-200013556 * collect2.c (main): Typo fixed.
13557 * diagnostic.c: Typo fixed.
13559 * eh-common.h: Typo fixed.
13560 * emit-rtl.c (start_sequence): Typo fixed.
13561 * flow.c (find_label_refs): Typo fixed.
13562 (calculate_global_regs_live): Typo fixed.
13563 (mark_regno_cond_dead): Typo fixed.
13565 (verify_edge_list): Typo fixed.
13566 * ggc-common.c (ggc_mark_rtx_children): Typo fixed.
13569 * rtlanal.c: Typo in function name fixed.
[all …]
/freebsd-12.1/contrib/binutils/bfd/
H A DChangeLog-0001696 (_bfd_mips_elf_object_p): Typo.
1548 (mips_elf_sort_hash_table): Typo.
2465 (aix386_core_vec): Typo fix.
4176 (elf_finish_pointer_linker_section): Typo. Handle MIPS ELF64
/freebsd-12.1/contrib/binutils/opcodes/
H A DChangeLog-0001547 mtps, mtps. Typo.

12