/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Sema/ |
H A D | TypoCorrection.h | 1 //===--- TypoCorrection.h - Class for typo correction results ---*- C++ -*-===// 10 // This file defines the TypoCorrection class, which stores the results of 25 class TypoCorrection { class in namespace:clang 41 TypoCorrection(const DeclarationName &Name, NamedDecl *NameDecl, function in class:clang::TypoCorrection 52 TypoCorrection(NamedDecl *Name, NestedNameSpecifier *NNS = 0, function in class:clang::TypoCorrection 61 TypoCorrection(DeclarationName Name, NestedNameSpecifier *NNS = 0, function in class:clang::TypoCorrection 67 TypoCorrection() function in class:clang::TypoCorrection 158 /// declarations associated with the DeclarationName of this TypoCorrection 166 /// \brief Returns whether this TypoCorrection has a non-empty DeclarationName 169 /// \brief Mark this TypoCorrection a [all...] |
H A D | ExternalSemaSource.h | 18 #include "clang/Sema/TypoCorrection.h" 199 virtual TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo, 205 return TypoCorrection();
|
H A D | MultiplexExternalSemaSource.h | 336 virtual TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo,
|
H A D | Sema.h | 42 #include "clang/Sema/TypoCorrection.h" 2506 TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo, 2515 void diagnoseTypo(const TypoCorrection &Correction, 2519 void diagnoseTypo(const TypoCorrection &Correction, 2538 bool TypoCorrection = false); 2740 TypoCorrection FailedCorrection(IdentifierInfo *Typo, SourceLocation TypoLoc, 2747 return TypoCorrection(); 6381 typedef llvm::DenseMap<IdentifierInfo *, TypoCorrection>
|
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaLookup.cpp | 34 #include "clang/Sema/TypoCorrection.h" 3390 typedef SmallVector<TypoCorrection, 1> TypoResultList; 3422 void addCorrection(TypoCorrection Correction); 3441 return Normalized ? TypoCorrection::NormalizeEditDistance(BestED) : BestED; 3500 TypoCorrection TC(&SemaRef.Context.Idents.get(Name), ND, NNS, ED); 3505 void TypoCorrectionConsumer::addCorrection(TypoCorrection Correction) { 3964 TypoCorrection &Candidate) { 3966 return Candidate.getEditDistance(false) != TypoCorrection::InvalidDistance; 3972 static void checkCorrectionVisibility(Sema &SemaRef, TypoCorrection &TC, 3977 TypoCorrection [all...] |
H A D | MultiplexExternalSemaSource.cpp | 277 TypoCorrection MultiplexExternalSemaSource::CorrectTypo( 285 if (TypoCorrection C = Sources[I]->CorrectTypo(Typo, LookupKind, S, SS, CCC, 290 return TypoCorrection();
|
H A D | SemaExprMember.cpp | 549 virtual bool ValidateCandidate(const TypoCorrection &candidate) { 634 TypoCorrection Corrected = SemaRef.CorrectTypo(R.getLookupNameInfo(), 640 for (TypoCorrection::decl_iterator DI = Corrected.begin(), 1279 if (TypoCorrection Corrected = CorrectTypo(R.getLookupNameInfo(),
|
H A D | SemaCXXScopeSpec.cpp | 366 virtual bool ValidateCandidate(const TypoCorrection &candidate) { 493 if (TypoCorrection Corrected =
|
H A D | SemaTemplateVariadic.cpp | 778 virtual bool ValidateCandidate(const TypoCorrection &candidate) { 819 if (TypoCorrection Corrected = CorrectTypo(R.getLookupNameInfo(),
|
H A D | SemaOpenMP.cpp | 384 virtual bool ValidateCandidate(const TypoCorrection &Candidate) { 408 if (TypoCorrection Corrected = CorrectTypo(Id, LookupOrdinaryName, CurScope,
|
H A D | SemaDeclObjC.cpp | 431 virtual bool ValidateCandidate(const TypoCorrection &candidate) { 511 if (TypoCorrection Corrected = CorrectTypo( 767 TypoCorrection Corrected = CorrectTypo( 1005 TypoCorrection Corrected =
|
H A D | SemaExprObjC.cpp | 1619 if (TypoCorrection Corrected = CorrectTypo( 1776 virtual bool ValidateCandidate(const TypoCorrection &candidate) { 1856 if (TypoCorrection Corrected =
|
H A D | SemaDecl.cpp | 72 virtual bool ValidateCandidate(const TypoCorrection &candidate) { 215 TypoCorrection Correction = CorrectTypo(Result.getLookupNameInfo(), 404 if (TypoCorrection Corrected = CorrectTypo(DeclarationNameInfo(II, IILoc), 647 if (TypoCorrection Corrected = CorrectTypo(Result.getLookupNameInfo(), 1434 if (TypoCorrection C = CorrectTypo(DeclarationNameInfo(Id, IdLoc), 5998 virtual bool ValidateCandidate(const TypoCorrection &candidate) { 6003 for (TypoCorrection::const_decl_iterator CDecl = candidate.begin(), 6047 TypoCorrection Correction; 6089 for (TypoCorrection::decl_iterator CDecl = Correction.begin(), 9938 TypoCorrection Correcte [all...] |
H A D | SemaExpr.cpp | 1826 TypoCorrection Corrected; 1841 for (TypoCorrection::decl_iterator CD = Corrected.begin(), 3968 virtual bool ValidateCandidate(const TypoCorrection &candidate) { 3982 static TypoCorrection TryTypoCorrectionForCall(Sema &S, 3987 if (TypoCorrection Corrected = 3994 for (TypoCorrection::decl_iterator CD = Corrected.begin(), 4015 return TypoCorrection(); 4053 TypoCorrection TC; 4094 TypoCorrection TC;
|
H A D | SemaDeclCXX.cpp | 2474 bool ValidateCandidate(const TypoCorrection &candidate) LLVM_OVERRIDE { 2584 TypoCorrection Corr; 6833 bool ValidateCandidate(const TypoCorrection &candidate) LLVM_OVERRIDE { 6848 if (TypoCorrection Corrected = S.CorrectTypo(R.getLookupNameInfo(), 7277 bool ValidateCandidate(const TypoCorrection &Candidate) LLVM_OVERRIDE { 7419 if (TypoCorrection Corrected = CorrectTypo(R.getLookupNameInfo(),
|
H A D | SemaInit.cpp | 1651 virtual bool ValidateCandidate(const TypoCorrection &candidate) { 1821 if (TypoCorrection Corrected = SemaRef.CorrectTypo(
|
H A D | SemaTemplate.cpp | 326 if (TypoCorrection Corrected = CorrectTypo(Found.getLookupNameInfo(),
|
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Parse/ |
H A D | ParseTentative.cpp | 1167 CorrectionCandidateCallback TypoCorrection; local 1168 TypoCorrection.WantRemainingKeywords = false; 1169 TypoCorrection.WantTypeSpecifiers = Next.isNot(tok::arrow); 1171 &TypoCorrection)) {
|
H A D | ParseExpr.cpp | 30 #include "clang/Sema/TypoCorrection.h" 433 virtual bool ValidateCandidate(const TypoCorrection &candidate) {
|
H A D | ParseStmt.cpp | 25 #include "clang/Sema/TypoCorrection.h" 145 virtual bool ValidateCandidate(const TypoCorrection &candidate) {
|