Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/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.h210 virtual TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo, in CorrectTypo() argument
H A DMultiplexExternalSemaSource.h343 TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo,
H A DSema.h4427 makeTypoCorrectionConsumer(const DeclarationNameInfo &Typo,
4526 TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo,
4536 TypoExpr *CorrectTypoDelayed(const DeclarationNameInfo &Typo,
4921 TypoCorrection FailedCorrection(IdentifierInfo *Typo, SourceLocation TypoLoc,
4924 TypoCorrectionFailures[Typo].insert(TypoLoc);
/openbsd-src/gnu/llvm/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.cpp984 StringRef Typo; member in clang::comments::__anonae66d1410211::SimpleTypoCorrector
992 explicit SimpleTypoCorrector(StringRef Typo) in SimpleTypoCorrector() argument
993 : BestDecl(nullptr), Typo(Typo), MaxEditDistance((Typo.size() + 2) / 3), in SimpleTypoCorrector()
1019 unsigned MinPossibleEditDistance = abs((int)Name.size() - (int)Typo.size()); in addDecl()
1021 Typo.size() / MinPossibleEditDistance < 3) in addDecl()
1024 unsigned EditDistance = Typo.edit_distance(Name, true, MaxEditDistance); in addDecl()
1034 StringRef Typo, in correctTypoInParmVarReference() argument
1036 SimpleTypoCorrector Corrector(Typo); in correctTypoInParmVarReference()
1099 StringRef Typo, in correctTypoInTParamReference() argument
1101 SimpleTypoCorrector Corrector(Typo); in correctTypoInTParamReference()
/openbsd-src/gnu/llvm/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;
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaLookup.cpp4557 if (!LookupResult::isVisible(SemaRef, ND) && Name != Typo) in FoundDecl()
4579 StringRef TypoStr = Typo->getName(); in addName()
4599 StringRef TypoStr = Typo->getName(); in addCorrection()
4726 Name == Typo && !Candidate.WillReplaceSpecifier()); in resolveCorrection()
4769 unsigned TypoLen = Typo->getName().size(); in performQualifiedLookups()
4795 if (QR.getCorrectionAsIdentifierInfo() != Typo && TmpED && in performQualifiedLookups()
4814 OldOStream << Typo->getName(); in performQualifiedLookups()
5182 IdentifierInfo *Typo = TypoName.getName().getAsIdentifierInfo(); in makeTypoCorrectionConsumer() local
5183 if (!Typo) in makeTypoCorrectionConsumer()
5196 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.cpp691 DeclarationName Typo = R.getLookupName(); in LookupMemberExprInRecord() local
711 Typo.getAsString() == TC.getAsString(SemaRef.getLangOpts()); in LookupMemberExprInRecord()
713 << Typo << DC << DroppedSpecifier in LookupMemberExprInRecord()
716 SemaRef.Diag(TypoLoc, diag::err_no_member) << Typo << DC << BaseRange; in LookupMemberExprInRecord()
H A DSema.cpp1097 for (const auto &Typo : DelayedTypos) { in ActOnEndOfTranslationUnitFragment() local
1099 Typo.second.DiagHandler(TypoCorrection()); in ActOnEndOfTranslationUnitFragment()
H A DSemaDeclObjC.cpp3675 StringRef Typo, const ObjCMethodDecl * Method) { in HelperSelectorsForTypoCorrection() argument
3680 unsigned MinPossibleEditDistance = abs((int)MethodName.size() - (int)Typo.size()); in HelperSelectorsForTypoCorrection()
3682 Typo.size() / MinPossibleEditDistance < 1) in HelperSelectorsForTypoCorrection()
3684 unsigned EditDistance = Typo.edit_distance(MethodName, true, MaxEditDistance); in HelperSelectorsForTypoCorrection()
H A DSemaExpr.cpp2170 DeclarationName Typo, SourceLocation TypoLoc, ArrayRef<Expr *> Args, in emitEmptyLookupTypoDiagnostic() argument
2178 SemaRef.Diag(TypoLoc, diag::err_no_member) << Typo << Ctx in emitEmptyLookupTypoDiagnostic()
2181 SemaRef.Diag(TypoLoc, DiagnosticID) << Typo; in emitEmptyLookupTypoDiagnostic()
2187 TC.WillReplaceSpecifier() && Typo.getAsString() == CorrectedStr; in emitEmptyLookupTypoDiagnostic()
2192 SemaRef.diagnoseTypo(TC, SemaRef.PDiag(DiagnosticSuggestID) << Typo, in emitEmptyLookupTypoDiagnostic()
2196 << Typo << Ctx << DroppedSpecifier in emitEmptyLookupTypoDiagnostic()
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.oliva/
H A DChangeLog138 * ns1.C: Typo.
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/usr.bin/perl/dist/Test/
H A DChangeLog7 * Typo fixes from Perl core
/openbsd-src/gnu/usr.bin/perl/dist/I18N-LangTags/
H A DChangeLog102 Typo-fixes and rewordings in the incidental Pod text elsewhere.
/openbsd-src/gnu/usr.bin/perl/dist/Attribute-Handlers/
H A DChanges161 - Typo fixes in documentation
/openbsd-src/gnu/usr.bin/perl/dist/Data-Dumper/
H A DChanges173 - Typo fixes in documentation.
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A DChangeLog.413550 * collect2.c (main): Typo fixed.
13551 * diagnostic.c: Typo fixed.
13552 * dwarf2out.c (dwarf2out_frame_debug_expr): Typo fixed.
13553 * eh-common.h: Typo fixed.
13554 * emit-rtl.c (start_sequence): Typo fixed.
13555 * flow.c (find_label_refs): Typo fixed.
13556 (calculate_global_regs_live): Typo fixed.
13557 (mark_regno_cond_dead): Typo fixed.
13559 (verify_edge_list): Typo fixed.
13560 * ggc-common.c (ggc_mark_rtx_children): Typo fixed.
[all …]
/openbsd-src/gnu/usr.bin/binutils-2.17/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.
/openbsd-src/gnu/usr.bin/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.
/openbsd-src/usr.sbin/nsd/doc/
H A DRELNOTES321 - Fix #144: Typo fix in nsd.conf.5.in.
1749 - Typo in zonec manpage.
1966 - Bug #135: Typo in locking code for nsdc, fixed.

123