HomeSort by relevance Sort by last modified time
    Searched refs:TypoCorrection (Results 1 - 23 of 23) sorted by null

  /external/clang/include/clang/Sema/
TypoCorrection.h 1 //===--- TypoCorrection.h - Class for typo correction results ---*- C++ -*-===//
10 // This file defines the TypoCorrection class, which stores the results of
26 class TypoCorrection {
42 TypoCorrection(const DeclarationName &Name, NamedDecl *NameDecl,
53 TypoCorrection(NamedDecl *Name, NestedNameSpecifier *NNS = nullptr,
62 TypoCorrection(DeclarationName Name, NestedNameSpecifier *NNS = nullptr,
68 TypoCorrection()
159 /// declarations associated with the DeclarationName of this TypoCorrection
167 /// \brief Returns whether this TypoCorrection has a non-empty DeclarationName
170 /// \brief Mark this TypoCorrection as being a keyword
    [all...]
SemaInternal.h 103 typedef SmallVector<TypoCorrection, 1> TypoResultList;
124 ValidatedCorrections.push_back(TypoCorrection());
134 void addCorrection(TypoCorrection Correction);
153 return Normalized ? TypoCorrection::NormalizeEditDistance(BestED) : BestED;
166 /// empty TypoCorrection is returned once no more viable corrections remain
168 const TypoCorrection &getNextCorrection();
171 const TypoCorrection &getCurrentCorrection() {
181 const TypoCorrection &peekNextCorrection() {
183 const TypoCorrection &TC = getNextCorrection();
296 bool resolveCorrection(TypoCorrection &Candidate)
    [all...]
ExternalSemaSource.h 18 #include "clang/Sema/TypoCorrection.h"
198 virtual TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo,
204 return TypoCorrection();
MultiplexExternalSemaSource.h 326 TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo,
Sema.h 43 #include "clang/Sema/TypoCorrection.h"
    [all...]
  /external/clang/unittests/Sema/
ExternalSemaSourceTest.cpp 18 #include "clang/Sema/TypoCorrection.h"
104 TypoCorrection CorrectTypo(const DeclarationNameInfo &Typo, int LookupKind,
123 TypoCorrection Correction(ToIdent);
127 return TypoCorrection();
206 // Check that we use the first successful TypoCorrection returned from an
  /external/clang/lib/Sema/
MultiplexExternalSemaSource.cpp 288 TypoCorrection MultiplexExternalSemaSource::CorrectTypo(
296 if (TypoCorrection C = Sources[I]->CorrectTypo(Typo, LookupKind, S, SS, CCC,
301 return TypoCorrection();
SemaLookup.cpp 39 #include "clang/Sema/TypoCorrection.h"
    [all...]
SemaExprMember.cpp 569 bool ValidateCandidate(const TypoCorrection &candidate) override {
665 [=, &SemaRef](const TypoCorrection &TC) {
679 [=](Sema &SemaRef, TypoExpr *TE, TypoCorrection TC) mutable {
    [all...]
SemaCXXScopeSpec.cpp 414 bool ValidateCandidate(const TypoCorrection &candidate) override {
593 if (TypoCorrection Corrected = CorrectTypo(
    [all...]
SemaTemplateVariadic.cpp 804 bool ValidateCandidate(const TypoCorrection &candidate) override {
844 if (TypoCorrection Corrected =
    [all...]
SemaDeclObjC.cpp 441 bool ValidateCandidate(const TypoCorrection &candidate) override {
482 if (TypoCorrection Corrected = CorrectTypo(
    [all...]
SemaExprObjC.cpp     [all...]
SemaDecl.cpp 75 bool ValidateCandidate(const TypoCorrection &candidate) override {
329 TypoCorrection Correction = CorrectTypo(
566 if (TypoCorrection Corrected =
809 if (TypoCorrection Corrected = CorrectTypo(Result.getLookupNameInfo(),
    [all...]
SemaExpr.cpp     [all...]
SemaExprCXX.cpp     [all...]
SemaDeclCXX.cpp     [all...]
SemaInit.cpp     [all...]
SemaOpenMP.cpp     [all...]
SemaTemplate.cpp 328 if (TypoCorrection Corrected = CorrectTypo(
    [all...]
  /external/clang/lib/Parse/
ParseTentative.cpp     [all...]
ParseStmt.cpp 25 #include "clang/Sema/TypoCorrection.h"
131 bool ValidateCandidate(const TypoCorrection &candidate) override {
    [all...]
ParseExpr.cpp 31 #include "clang/Sema/TypoCorrection.h"
482 bool ValidateCandidate(const TypoCorrection &candidate) override {
    [all...]

Completed in 155 milliseconds