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

//===-- HoverTests.cpp ----------------------------------------------------===//
//
// 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 "AST.h"
#include "Annotations.h"
#include "Config.h"
#include "Hover.h"
#include "TestFS.h"
#include "TestIndex.h"
#include "TestTU.h"
#include "index/MemIndex.h"
#include "clang/AST/Attr.h"
#include "clang/Format/Format.h"
#include "clang/Index/IndexSymbol.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h"

#include "gtest/gtest.h"
#include <functional>
#include <optional>
#include <string>
#include <vector>

namespace clang {
namespace clangd {
namespace {

PassMode;

std::string guard(llvm::StringRef Code) {}

TEST(Hover, Structured) {}

TEST(Hover, DefinitionLanuage) {}

TEST(Hover, CallPassType) {}

TEST(Hover, NoHover) {}

TEST(Hover, All) {}

TEST(Hover, Providers) {}

TEST(Hover, ParseProviderInfo) {}

TEST(Hover, UsedSymbols) {}

TEST(Hover, DocsFromIndex) {}

TEST(Hover, DocsFromAST) {}

TEST(Hover, NoCrash) {}

TEST(Hover, NoCrashAPInt64) {}

TEST(Hover, NoCrashInt128) {}

TEST(Hover, DocsFromMostSpecial) {}

TEST(Hover, Present) {}

TEST(Hover, ParseDocumentation) {}

// This is a separate test as headings don't create any differences in
// plaintext mode.
TEST(Hover, PresentHeadings) {}

// This is a separate test as rulers behave differently in markdown vs
// plaintext.
TEST(Hover, PresentRulers) {}

TEST(Hover, SpaceshipTemplateNoCrash) {}

TEST(Hover, ForwardStructNoCrash) {}

TEST(Hover, FunctionParameterDefaulValueNotEvaluatedOnInvalidDecls) {}

TEST(Hover, DisableShowAKA) {}

TEST(Hover, HideBigInitializers) {}

#if defined(__aarch64__)
// FIXME: AARCH64 sanitizer buildbots are broken after 72142fbac4.
#define PREDEFINEMACROS_TEST
#else
#define PREDEFINEMACROS_TEST(x)
#endif

TEST(Hover, PREDEFINEMACROS_TEST(GlobalVarEnumeralCastNoCrash)) {}

TEST(Hover, PREDEFINEMACROS_TEST(GlobalVarIntCastNoCrash)) {}

TEST(Hover, Typedefs) {}

TEST(Hover, EvaluateMacros) {}
} // namespace
} // namespace clangd
} // namespace clang