#include "Annotations.h"
#include "Selection.h"
#include "SourceCode.h"
#include "TestTU.h"
#include "support/TestTracer.h"
#include "clang/AST/ASTConcept.h"
#include "clang/AST/Decl.h"
#include "llvm/Support/Casting.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
namespace clang {
namespace clangd {
namespace {
ElementsAreArray;
UnorderedElementsAreArray;
SelectionTree makeSelectionTree(const StringRef MarkedCode, ParsedAST &AST) { … }
Range nodeRange(const SelectionTree::Node *N, ParsedAST &AST) { … }
std::string nodeKind(const SelectionTree::Node *N) { … }
std::vector<const SelectionTree::Node *> allNodes(const SelectionTree &T) { … }
bool verifyCommonAncestor(const SelectionTree::Node &Root,
const SelectionTree::Node *Common,
StringRef MarkedCode) { … }
TEST(SelectionTest, CommonAncestor) { … }
TEST(SelectionTest, InjectedClassName) { … }
TEST(SelectionTree, Metrics) { … }
TEST(SelectionTest, Selected) { … }
TEST(SelectionTest, PathologicalPreprocessor) { … }
TEST(SelectionTest, IncludedFile) { … }
TEST(SelectionTest, MacroArgExpansion) { … }
TEST(SelectionTest, Implicit) { … }
TEST(SelectionTest, CreateAll) { … }
TEST(SelectionTest, DeclContextIsLexical) { … }
TEST(SelectionTest, DeclContextLambda) { … }
TEST(SelectionTest, UsingConcepts) { … }
}
}
}