clang-tools  12.0.0git
Namespaces | Functions
Trigram.cpp File Reference
#include "Trigram.h"
#include "FuzzyMatch.h"
#include "Token.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringExtras.h"
#include <cctype>
#include <queue>
#include <string>
Include dependency graph for Trigram.cpp:

Go to the source code of this file.

Namespaces

 clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
 clang::clangd
 
 clang::clangd::dex
 

Functions

template<typename Func >
static void clang::clangd::dex::identifierTrigrams (llvm::StringRef Identifier, Func Out)
 
void clang::clangd::dex::generateIdentifierTrigrams (llvm::StringRef Identifier, std::vector< Trigram > &Out)
 Produces list of unique fuzzy-search trigrams from unqualified symbol. More...
 
std::vector< Token > clang::clangd::dex::generateQueryTrigrams (llvm::StringRef Query)
 Returns list of unique fuzzy-search trigrams given a query. More...