#include "Annotations.h"
#include "ParsedAST.h"
#include "TestFS.h"
#include "TestTU.h"
#include "TestWorkspace.h"
#include "XRefs.h"
#include "llvm/Support/Path.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
namespace clang {
namespace clangd {
llvm::raw_ostream &operator<<(llvm::raw_ostream &Stream,
const CallHierarchyItem &Item) { … }
llvm::raw_ostream &operator<<(llvm::raw_ostream &Stream,
const CallHierarchyIncomingCall &Call) { … }
namespace {
AllOf;
ElementsAre;
Field;
IsEmpty;
Matcher;
UnorderedElementsAre;
MATCHER_P(withName, N, "") { … }
MATCHER_P(withSelectionRange, R, "") { … }
template <class ItemMatcher>
::testing::Matcher<CallHierarchyIncomingCall> from(ItemMatcher M) { … }
template <class... RangeMatchers>
::testing::Matcher<CallHierarchyIncomingCall> fromRanges(RangeMatchers... M) { … }
TEST(CallHierarchy, IncomingOneFileCpp) { … }
TEST(CallHierarchy, IncomingOneFileObjC) { … }
TEST(CallHierarchy, MainFileOnlyRef) { … }
TEST(CallHierarchy, IncomingQualified) { … }
TEST(CallHierarchy, IncomingMultiFileCpp) { … }
TEST(CallHierarchy, IncomingMultiFileObjC) { … }
TEST(CallHierarchy, CallInLocalVarDecl) { … }
}
}
}