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

//===------ IndexActionTests.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 "Headers.h"
#include "TestFS.h"
#include "URI.h"
#include "index/IndexAction.h"
#include "index/Serialization.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Tooling/Tooling.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <string>

namespace clang {
namespace clangd {
namespace {

AllOf;
ElementsAre;
EndsWith;
Not;
Pair;
UnorderedElementsAre;
UnorderedPointwise;

std::string toUri(llvm::StringRef Path) {}

MATCHER(isTU, "") {}

MATCHER_P(hasDigest, Digest, "") {}

MATCHER_P(hasName, Name, "") {}

MATCHER(hasSameURI, "") {}

MATCHER_P(includeHeader, P, "") {}

::testing::Matcher<const IncludeGraphNode &>
includesAre(const std::vector<std::string> &Includes) {}

void checkNodesAreInitialized(const IndexFileIn &IndexFile,
                              const std::vector<std::string> &Paths) {}

std::map<std::string, const IncludeGraphNode &> toMap(const IncludeGraph &IG) {}

class IndexActionTest : public ::testing::Test {};

TEST_F(IndexActionTest, CollectIncludeGraph) {}

TEST_F(IndexActionTest, IncludeGraphSelfInclude) {}

TEST_F(IndexActionTest, IncludeGraphSkippedFile) {}

TEST_F(IndexActionTest, IncludeGraphDynamicInclude) {}

TEST_F(IndexActionTest, NoWarnings) {}

TEST_F(IndexActionTest, SkipFiles) {}

TEST_F(IndexActionTest, SkipNestedSymbols) {}

TEST_F(IndexActionTest, SymbolFromCC) {}

TEST_F(IndexActionTest, IncludeHeaderForwardDecls) {}
} // namespace
} // namespace clangd
} // namespace clang