#include "../../clang-tidy/ClangTidyCheck.h"
#include "AST.h"
#include "Compiler.h"
#include "Config.h"
#include "Diagnostics.h"
#include "Headers.h"
#include "ParsedAST.h"
#include "Preamble.h"
#include "SourceCode.h"
#include "TestFS.h"
#include "TestTU.h"
#include "TidyProvider.h"
#include "support/Context.h"
#include "clang/AST/DeclTemplate.h"
#include "clang/Basic/FileEntry.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Basic/TokenKinds.h"
#include "clang/Tooling/Syntax/Tokens.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Testing/Annotations/Annotations.h"
#include "llvm/Testing/Support/Error.h"
#include "gmock/gmock-matchers.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <memory>
#include <string_view>
#include <utility>
#include <vector>
namespace clang {
namespace clangd {
namespace {
AllOf;
Contains;
ElementsAre;
ElementsAreArray;
IsEmpty;
MATCHER_P(declNamed, Name, "") { … }
MATCHER_P(declKind, Kind, "") { … }
MATCHER_P(withTemplateArgs, ArgName, "") { … }
MATCHER_P(pragmaTrivia, P, "") { … }
MATCHER(eqInc, "") { … }
TEST(ParsedASTTest, TopLevelDecls) { … }
TEST(ParsedASTTest, DoesNotGetIncludedTopDecls) { … }
TEST(ParsedASTTest, DoesNotGetImplicitTemplateTopDecls) { … }
TEST(ParsedASTTest,
GetsExplicitInstantiationAndSpecializationTemplateTopDecls) { … }
TEST(ParsedASTTest, IgnoresDelayedTemplateParsing) { … }
TEST(ParsedASTTest, TokensAfterPreamble) { … }
TEST(ParsedASTTest, NoCrashOnTokensWithTidyCheck) { … }
TEST(ParsedASTTest, CanBuildInvocationWithUnknownArgs) { … }
TEST(ParsedASTTest, CollectsMainFileMacroExpansions) { … }
MATCHER_P(withFileName, Inc, "") { … }
TEST(ParsedASTTest, PatchesAdditionalIncludes) { … }
TEST(ParsedASTTest, PatchesDeletedIncludes) { … }
std::string guard(llvm::StringRef Code) { … }
std::string once(llvm::StringRef Code) { … }
bool mainIsGuarded(const ParsedAST &AST) { … }
MATCHER_P(diag, Desc, "") { … }
TEST(ParsedASTTest, HeaderGuards) { … }
TEST(ParsedASTTest, HeaderGuardsSelfInclude) { … }
TEST(ParsedASTTest, HeaderGuardsImplIface) { … }
TEST(ParsedASTTest, DiscoversPragmaMarks) { … }
TEST(ParsedASTTest, GracefulFailureOnAssemblyFile) { … }
TEST(ParsedASTTest, PreambleWithDifferentTarget) { … }
}
}
}