clang-tools 19.0.0git
Namespaces | Functions
Trigram.cpp File Reference
#include "Trigram.h"
#include "FuzzyMatch.h"
#include "index/dex/Token.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"
#include <cctype>
#include <limits>
#include <queue>
#include <string>
#include <utility>

Go to the source code of this file.

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
namespace  clang::clangd
 
namespace  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.
 
std::vector< Token > clang::clangd::dex::generateQueryTrigrams (llvm::StringRef Query)
 Returns list of unique fuzzy-search trigrams given a query.