#include "TestTU.h"
#include "CompileCommands.h"
#include "Compiler.h"
#include "Diagnostics.h"
#include "TestFS.h"
#include "index/FileIndex.h"
#include "clang/AST/RecursiveASTVisitor.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Frontend/CompilerInvocation.h"
#include "llvm/ADT/ScopeExit.h"
#include "llvm/Support/ScopedPrinter.h"
#include "llvm/Support/raw_ostream.h"
#include <cstdlib>
namespace clang {
namespace clangd {
ParseInputs TestTU::inputs(MockFS &FS) const { … }
void initializeModuleCache(CompilerInvocation &CI) { … }
void deleteModuleCache(const std::string ModuleCachePath) { … }
std::shared_ptr<const PreambleData>
TestTU::preamble(PreambleParsedCallback PreambleCallback) const { … }
ParsedAST TestTU::build() const { … }
SymbolSlab TestTU::headerSymbols() const { … }
RefSlab TestTU::headerRefs() const { … }
std::unique_ptr<SymbolIndex> TestTU::index() const { … }
const Symbol &findSymbol(const SymbolSlab &Slab, llvm::StringRef QName) { … }
class TraverseHeadersToo { … };
const NamedDecl &findDecl(ParsedAST &AST, llvm::StringRef QName) { … }
const NamedDecl &findDecl(ParsedAST &AST,
std::function<bool(const NamedDecl &)> Filter) { … }
const NamedDecl &findUnqualifiedDecl(ParsedAST &AST, llvm::StringRef Name) { … }
}
}