#include "Annotations.h"
#include "ClangdServer.h"
#include "Protocol.h"
#include "SemanticSelection.h"
#include "SyncAPI.h"
#include "TestFS.h"
#include "TestTU.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/Support/Error.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <vector>
namespace clang {
namespace clangd {
namespace {
ElementsAre;
ElementsAreArray;
UnorderedElementsAreArray;
std::vector<Range> gatherRanges(const SelectionRange &SR) { … }
std::vector<Range>
gatherFoldingRanges(llvm::ArrayRef<FoldingRange> FoldingRanges) { … }
TEST(SemanticSelection, All) { … }
TEST(SemanticSelection, RunViaClangdServer) { … }
TEST(FoldingRanges, ASTAll) { … }
TEST(FoldingRanges, PseudoParserWithoutLineFoldings) { … }
TEST(FoldingRanges, PseudoParserLineFoldingsOnly) { … }
}
}
}