/external/clang/test/Index/Inputs/ |
H A D | preamble-with-implicit-import-B.h | 3 typedef struct { char x; } Typo; typedef in typeref:struct:__anon2599
|
/external/clang/include/clang/Sema/ |
H A D | ExternalSemaSource.h | 202 virtual TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo, argument
|
H A D | SemaInternal.h | 116 : Typo(TypoName.getName().getAsIdentifierInfo()), CurrentTCIndex(0), 309 IdentifierInfo *Typo; member in class:clang::TypoCorrectionConsumer
|
H A D | TypoCorrection.h | 256 explicit CorrectionCandidateCallback(IdentifierInfo *Typo = nullptr, 261 IsObjCIvarLookup(false), IsAddressOfOperand(false), Typo(Typo), 290 void setTypoName(IdentifierInfo *II) { Typo = II; } 309 return Typo && candidate.isResolved() && !candidate.requiresImport() && 310 candidate.getCorrectionAsIdentifierInfo() == Typo && 316 IdentifierInfo *Typo; member in class:clang::CorrectionCandidateCallback
|
H A D | Sema.h | 2824 makeTypoCorrectionConsumer(const DeclarationNameInfo &Typo, 2907 TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo, 2917 TypoExpr *CorrectTypoDelayed(const DeclarationNameInfo &Typo, 3247 TypoCorrection FailedCorrection(IdentifierInfo *Typo, SourceLocation TypoLoc, argument 3250 TypoCorrectionFailures[Typo].insert(TypoLoc);
|
/external/clang/lib/Sema/ |
H A D | MultiplexExternalSemaSource.cpp | 294 const DeclarationNameInfo &Typo, 301 if (TypoCorrection C = Sources[I]->CorrectTypo(Typo, LookupKind, S, SS, CCC, 293 CorrectTypo( const DeclarationNameInfo &Typo, int LookupKind, Scope *S, CXXScopeSpec *SS, CorrectionCandidateCallback &CCC, DeclContext *MemberContext, bool EnteringContext, const ObjCObjectPointerType *OPT) argument
|
H A D | SemaDeclObjC.cpp | 3551 StringRef Typo, const ObjCMethodDecl * Method) { 3556 unsigned MinPossibleEditDistance = abs((int)MethodName.size() - (int)Typo.size()); 3558 Typo.size() / MinPossibleEditDistance < 1) 3560 unsigned EditDistance = Typo.edit_distance(MethodName, true, MaxEditDistance); 3549 HelperSelectorsForTypoCorrection( SmallVectorImpl<const ObjCMethodDecl *> &BestMethod, StringRef Typo, const ObjCMethodDecl * Method) argument
|
H A D | SemaExpr.cpp | 1825 DeclarationName Typo, SourceLocation TypoLoc, ArrayRef<Expr *> Args, 1833 SemaRef.Diag(TypoLoc, diag::err_no_member) << Typo << Ctx 1836 SemaRef.Diag(TypoLoc, DiagnosticID) << Typo; 1842 TC.WillReplaceSpecifier() && Typo.getAsString() == CorrectedStr; 1847 SemaRef.diagnoseTypo(TC, SemaRef.PDiag(DiagnosticSuggestID) << Typo, 1851 << Typo << Ctx << DroppedSpecifier 2228 "Typo correction callback misconfigured"); 1823 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 D | CommentSema.cpp | 953 StringRef Typo; member in class:clang::comments::__anon1109::SimpleTypoCorrector 962 SimpleTypoCorrector(StringRef Typo) : argument 963 Typo(Typo), MaxEditDistance((Typo.size() + 2) / 3), 991 unsigned MinPossibleEditDistance = abs((int)Name.size() - (int)Typo.size()); 993 Typo.size() / MinPossibleEditDistance < 3) 996 unsigned EditDistance = Typo.edit_distance(Name, true, MaxEditDistance); 1006 StringRef Typo, 1008 SimpleTypoCorrector Corrector(Typo); 1005 correctTypoInParmVarReference( StringRef Typo, ArrayRef<const ParmVarDecl *> ParamVars) argument 1070 correctTypoInTParamReference( StringRef Typo, const TemplateParameterList *TemplateParameters) argument [all...] |
/external/clang/test/SemaCXX/ |
H A D | functional-cast.cpp | 317 typedef itn Typo; // expected-error {{unknown type name 'itn'}} typedef 318 (void)Typo(1); // used to crash
|