clang-tools 22.0.0git
clang::clangd::FuzzyMatcher Class Reference

#include <FuzzyMatch.h>

Public Member Functions

 FuzzyMatcher (llvm::StringRef Pattern)
std::optional< float > match (llvm::StringRef Word)
llvm::StringRef pattern () const
bool empty () const
llvm::SmallString< 256 > dumpLast (llvm::raw_ostream &) const

Detailed Description

Definition at line 71 of file FuzzyMatch.h.

Constructor & Destructor Documentation

◆ FuzzyMatcher()

clang::clangd::FuzzyMatcher::FuzzyMatcher ( llvm::StringRef Pattern)

Member Function Documentation

◆ dumpLast()

llvm::SmallString< 256 > clang::clangd::FuzzyMatcher::dumpLast ( llvm::raw_ostream & OS) const

Definition at line 308 of file FuzzyMatch.cpp.

References clang::clangd::isAwful(), and clang::clangd::Upper.

◆ empty()

bool clang::clangd::FuzzyMatcher::empty ( ) const
inline

Definition at line 83 of file FuzzyMatch.h.

◆ match()

std::optional< float > clang::clangd::FuzzyMatcher::match ( llvm::StringRef Word)

◆ pattern()

llvm::StringRef clang::clangd::FuzzyMatcher::pattern ( ) const
inline

Definition at line 82 of file FuzzyMatch.h.


The documentation for this class was generated from the following files: