Home
last modified time | relevance | path

Searched refs:SimpleTypoCorrection (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSimpleTypoCorrection.cpp21 void SimpleTypoCorrection::add(const StringRef Candidate) { in add()
43 void SimpleTypoCorrection::add(const char *Candidate) { in add()
48 void SimpleTypoCorrection::add(const IdentifierInfo *Candidate) { in add()
53 unsigned SimpleTypoCorrection::getCorrectionIndex() const { return BestIndex; } in getCorrectionIndex()
55 std::optional<StringRef> SimpleTypoCorrection::getCorrection() const { in getCorrection()
61 bool SimpleTypoCorrection::hasCorrection() const { in hasCorrection()
H A DAttributes.cpp264 SimpleTypoCorrection STC(ScopeName); in tryGetCorrectedScopeName()
278 SimpleTypoCorrection STC(AttrName); in tryGetCorrectedAttrName()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSimpleTypoCorrection.h24 class SimpleTypoCorrection {
34 explicit SimpleTypoCorrection(StringRef Typo) in SimpleTypoCorrection() function
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DCommentSema.cpp984 SimpleTypoCorrection STC(Typo); in correctTypoInParmVarReference()
1039 SimpleTypoCorrection &STC) { in CorrectTypoInTParamReferenceHelper()
1057 SimpleTypoCorrection STC(Typo); in correctTypoInTParamReference()
/freebsd/lib/clang/libclang/
H A DMakefile229 SRCS_MIN+= Basic/SimpleTypoCorrection.cpp