//===--- TestWorkspace.cpp - Utility for writing multi-file tests -*- C++-*===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "TestWorkspace.h" #include "clang-include-cleaner/Record.h" #include "index/FileIndex.h" #include "gtest/gtest.h" #include <memory> #include <optional> namespace clang { namespace clangd { std::unique_ptr<SymbolIndex> TestWorkspace::index() { … } std::optional<ParsedAST> TestWorkspace::openFile(llvm::StringRef Filename) { … } void TestWorkspace::addInput(llvm::StringRef Filename, const SourceFile &Input) { … } } // namespace clangd } // namespace clang