Searched refs:TypoCorrection (Results 1 - 20 of 20) sorted by relevance

/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DTypoCorrection.h1 //===--- 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 DExternalSemaSource.h18 #include "clang/Sema/TypoCorrection.h"
199 virtual TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo,
205 return TypoCorrection();
H A DMultiplexExternalSemaSource.h336 virtual TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo,
H A DSema.h42 #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 DSemaLookup.cpp34 #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 DMultiplexExternalSemaSource.cpp277 TypoCorrection MultiplexExternalSemaSource::CorrectTypo(
285 if (TypoCorrection C = Sources[I]->CorrectTypo(Typo, LookupKind, S, SS, CCC,
290 return TypoCorrection();
H A DSemaExprMember.cpp549 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 DSemaCXXScopeSpec.cpp366 virtual bool ValidateCandidate(const TypoCorrection &candidate) {
493 if (TypoCorrection Corrected =
H A DSemaTemplateVariadic.cpp778 virtual bool ValidateCandidate(const TypoCorrection &candidate) {
819 if (TypoCorrection Corrected = CorrectTypo(R.getLookupNameInfo(),
H A DSemaOpenMP.cpp384 virtual bool ValidateCandidate(const TypoCorrection &Candidate) {
408 if (TypoCorrection Corrected = CorrectTypo(Id, LookupOrdinaryName, CurScope,
H A DSemaDeclObjC.cpp431 virtual bool ValidateCandidate(const TypoCorrection &candidate) {
511 if (TypoCorrection Corrected = CorrectTypo(
767 TypoCorrection Corrected = CorrectTypo(
1005 TypoCorrection Corrected =
H A DSemaExprObjC.cpp1619 if (TypoCorrection Corrected = CorrectTypo(
1776 virtual bool ValidateCandidate(const TypoCorrection &candidate) {
1856 if (TypoCorrection Corrected =
H A DSemaDecl.cpp72 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 DSemaExpr.cpp1826 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 DSemaDeclCXX.cpp2474 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 DSemaInit.cpp1651 virtual bool ValidateCandidate(const TypoCorrection &candidate) {
1821 if (TypoCorrection Corrected = SemaRef.CorrectTypo(
H A DSemaTemplate.cpp326 if (TypoCorrection Corrected = CorrectTypo(Found.getLookupNameInfo(),
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Parse/
H A DParseTentative.cpp1167 CorrectionCandidateCallback TypoCorrection; local
1168 TypoCorrection.WantRemainingKeywords = false;
1169 TypoCorrection.WantTypeSpecifiers = Next.isNot(tok::arrow);
1171 &TypoCorrection)) {
H A DParseExpr.cpp30 #include "clang/Sema/TypoCorrection.h"
433 virtual bool ValidateCandidate(const TypoCorrection &candidate) {
H A DParseStmt.cpp25 #include "clang/Sema/TypoCorrection.h"
145 virtual bool ValidateCandidate(const TypoCorrection &candidate) {

Completed in 566 milliseconds