#include "TestIndex.h"
#include "clang/Index/IndexSymbol.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/Regex.h"
namespace clang {
namespace clangd {
Symbol symbol(llvm::StringRef QName) { … }
static std::string replace(llvm::StringRef Haystack, llvm::StringRef Needle,
llvm::StringRef Repl) { … }
Symbol sym(llvm::StringRef QName, index::SymbolKind Kind,
llvm::StringRef USRFormat, llvm::StringRef Signature) { … }
Symbol func(llvm::StringRef Name) { … }
Symbol cls(llvm::StringRef Name) { … }
Symbol enm(llvm::StringRef Name) { … }
Symbol enmConstant(llvm::StringRef Name) { … }
Symbol var(llvm::StringRef Name) { … }
Symbol ns(llvm::StringRef Name) { … }
Symbol conceptSym(llvm::StringRef Name) { … }
Symbol macro(llvm::StringRef Name, llvm::StringRef ArgList) { … }
Symbol objcSym(llvm::StringRef Name, index::SymbolKind Kind,
llvm::StringRef USRPrefix) { … }
Symbol objcClass(llvm::StringRef Name) { … }
Symbol objcCategory(llvm::StringRef Name, llvm::StringRef CategoryName) { … }
Symbol objcProtocol(llvm::StringRef Name) { … }
SymbolSlab generateSymbols(std::vector<std::string> QualifiedNames) { … }
SymbolSlab generateNumSymbols(int Begin, int End) { … }
std::string getQualifiedName(const Symbol &Sym) { … }
std::vector<std::string> match(const SymbolIndex &I,
const FuzzyFindRequest &Req, bool *Incomplete) { … }
std::vector<std::string> lookup(const SymbolIndex &I,
llvm::ArrayRef<SymbolID> IDs) { … }
}
}