Searched defs:Typo (Results 1 - 9 of 9) sorted by relevance

/external/clang/include/clang/Sema/
H A DExternalSemaSource.h198 virtual TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo, argument
H A DSemaInternal.h115 : Typo(TypoName.getName().getAsIdentifierInfo()), CurrentTCIndex(0),
305 IdentifierInfo *Typo; member in class:clang::TypoCorrectionConsumer
H A DTypoCorrection.h250 explicit CorrectionCandidateCallback(IdentifierInfo *Typo = nullptr,
255 IsObjCIvarLookup(false), IsAddressOfOperand(false), Typo(Typo),
284 void setTypoName(IdentifierInfo *II) { Typo = II; }
303 return Typo && candidate.isResolved() && !candidate.requiresImport() &&
304 candidate.getCorrectionAsIdentifierInfo() == Typo &&
310 IdentifierInfo *Typo; member in class:clang::CorrectionCandidateCallback
H A DSema.h2750 makeTypoCorrectionConsumer(const DeclarationNameInfo &Typo,
2833 TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo,
2843 TypoExpr *CorrectTypoDelayed(const DeclarationNameInfo &Typo,
3166 TypoCorrection FailedCorrection(IdentifierInfo *Typo, SourceLocation TypoLoc, argument
3169 TypoCorrectionFailures[Typo].insert(TypoLoc);
/external/clang/lib/Sema/
H A DMultiplexExternalSemaSource.cpp289 const DeclarationNameInfo &Typo,
296 if (TypoCorrection C = Sources[I]->CorrectTypo(Typo, LookupKind, S, SS, CCC,
288 CorrectTypo( const DeclarationNameInfo &Typo, int LookupKind, Scope *S, CXXScopeSpec *SS, CorrectionCandidateCallback &CCC, DeclContext *MemberContext, bool EnteringContext, const ObjCObjectPointerType *OPT) argument
H A DSemaDeclObjC.cpp3403 StringRef Typo, const ObjCMethodDecl * Method) {
3408 unsigned MinPossibleEditDistance = abs((int)MethodName.size() - (int)Typo.size());
3410 Typo.size() / MinPossibleEditDistance < 1)
3412 unsigned EditDistance = Typo.edit_distance(MethodName, true, MaxEditDistance);
3401 HelperSelectorsForTypoCorrection( SmallVectorImpl<const ObjCMethodDecl *> &BestMethod, StringRef Typo, const ObjCMethodDecl * Method) argument
H A DSemaExpr.cpp1761 DeclarationName Typo, SourceLocation TypoLoc, ArrayRef<Expr *> Args,
1769 SemaRef.Diag(TypoLoc, diag::err_no_member) << Typo << Ctx
1772 SemaRef.Diag(TypoLoc, DiagnosticID) << Typo;
1778 TC.WillReplaceSpecifier() && Typo.getAsString() == CorrectedStr;
1784 SemaRef.diagnoseTypo(TC, SemaRef.PDiag(DiagnosticSuggestID) << Typo,
1788 << Typo << Ctx << DroppedSpecifier
2165 "Typo correction callback misconfigured");
1759 emitEmptyLookupTypoDiagnostic( const TypoCorrection &TC, Sema &SemaRef, const CXXScopeSpec &SS, DeclarationName Typo, SourceLocation TypoLoc, ArrayRef<Expr *> Args, unsigned DiagnosticID, unsigned DiagnosticSuggestID) argument
/external/clang/lib/AST/
H A DCommentSema.cpp955 StringRef Typo; member in class:clang::comments::__anon1141::SimpleTypoCorrector
964 SimpleTypoCorrector(StringRef Typo) : argument
965 Typo(Typo), MaxEditDistance((Typo.size() + 2) / 3),
993 unsigned MinPossibleEditDistance = abs((int)Name.size() - (int)Typo.size());
995 Typo.size() / MinPossibleEditDistance < 3)
998 unsigned EditDistance = Typo.edit_distance(Name, true, MaxEditDistance);
1008 StringRef Typo,
1010 SimpleTypoCorrector Corrector(Typo);
1007 correctTypoInParmVarReference( StringRef Typo, ArrayRef<const ParmVarDecl *> ParamVars) argument
1072 correctTypoInTParamReference( StringRef Typo, const TemplateParameterList *TemplateParameters) argument
[all...]
/external/clang/test/SemaCXX/
H A Dfunctional-cast.cpp317 typedef itn Typo; // expected-error {{unknown type name 'itn'}} typedef
318 (void)Typo(1); // used to crash

Completed in 9342 milliseconds