llvm/clang-tools-extra/clangd/unittests/CallHierarchyTests.cpp

//===-- CallHierarchyTests.cpp  ---------------------------*- 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 "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;

// Helpers for matching call hierarchy data structures.
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) {}

} // namespace
} // namespace clangd
} // namespace clang