//===-- ModulesTests.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 "TestFS.h" #include "TestTU.h" #include "llvm/ADT/StringRef.h" #include "gmock/gmock.h" #include "gtest/gtest.h" #include <memory> #include <string> namespace clang { namespace clangd { namespace { TEST(Modules, TextualIncludeInPreamble) { … } // Verify that visibility of AST nodes belonging to modules, but loaded from // preamble PCH, is restored. TEST(Modules, PreambleBuildVisibility) { … } TEST(Modules, Diagnostic) { … } // Unknown module formats are a fatal failure for clang. Ensure we don't crash. TEST(Modules, UnknownFormat) { … } // Test that we can build and use a preamble for a module unit. TEST(Modules, ModulePreamble) { … } } // namespace } // namespace clangd } // namespace clang