clang 20.0.0git
Public Member Functions | List of all members
clang::DefaultFilterCCC Class Referencefinal

#include "clang/Sema/TypoCorrection.h"

Inheritance diagram for clang::DefaultFilterCCC:
Inheritance graph
[legend]

Public Member Functions

 DefaultFilterCCC (const IdentifierInfo *Typo=nullptr, NestedNameSpecifier *TypoNNS=nullptr)
 
std::unique_ptr< CorrectionCandidateCallbackclone () override
 Clone this CorrectionCandidateCallback.
 
- Public Member Functions inherited from clang::CorrectionCandidateCallback
 CorrectionCandidateCallback (const IdentifierInfo *Typo=nullptr, NestedNameSpecifier *TypoNNS=nullptr)
 
virtual ~CorrectionCandidateCallback ()=default
 
virtual bool ValidateCandidate (const TypoCorrection &candidate)
 Simple predicate used by the default RankCandidate to determine whether to return an edit distance of 0 or InvalidDistance.
 
virtual unsigned RankCandidate (const TypoCorrection &candidate)
 Method used by Sema::CorrectTypo to assign an "edit distance" rank to a candidate (where a lower value represents a better candidate), or returning InvalidDistance if the candidate is not at all viable.
 
virtual std::unique_ptr< CorrectionCandidateCallbackclone ()=0
 Clone this CorrectionCandidateCallback.
 
void setTypoName (const IdentifierInfo *II)
 
void