llvm/clang/unittests/CrossTU/CrossTranslationUnitTest.cpp

//===- unittest/Tooling/CrossTranslationUnitTest.cpp - Tooling unit tests -===//
//
// 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 "clang/CrossTU/CrossTranslationUnit.h"
#include "clang/AST/ASTConsumer.h"
#include "clang/AST/ParentMapContext.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Frontend/FrontendAction.h"
#include "clang/Tooling/Tooling.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/ToolOutputFile.h"
#include "gtest/gtest.h"
#include <cassert>

namespace clang {
namespace cross_tu {

namespace {

class CTUASTConsumer : public clang::ASTConsumer {};

class CTUAction : public clang::ASTFrontendAction {};

} // end namespace

TEST(CrossTranslationUnit, CanLoadFunctionDefinition) {}

TEST(CrossTranslationUnit, RespectsLoadThreshold) {}

TEST(CrossTranslationUnit, IndexFormatCanBeParsed) {}

TEST(CrossTranslationUnit, EmptyInvocationListIsNotValid) {}

TEST(CrossTranslationUnit, AmbiguousInvocationListIsDetected) {}

TEST(CrossTranslationUnit, SingleInvocationCanBeParsed) {}

TEST(CrossTranslationUnit, MultipleInvocationsCanBeParsed) {}

} // end namespace cross_tu
} // end namespace clang