//===-- clang-doc/YAMLGeneratorTest.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 "ClangDocTest.h" #include "Generators.h" #include "Representation.h" #include "gtest/gtest.h" namespace clang { namespace doc { std::unique_ptr<Generator> getYAMLGenerator() { … } TEST(YAMLGeneratorTest, emitNamespaceYAML) { … } TEST(YAMLGeneratorTest, emitRecordYAML) { … } TEST(YAMLGeneratorTest, emitFunctionYAML) { … } // Tests the equivalent of: // namespace A { // enum e { X }; // } TEST(YAMLGeneratorTest, emitSimpleEnumYAML) { … } // Tests the equivalent of: // enum class e : short { X = FOO_BAR + 2 }; TEST(YAMLGeneratorTest, enumTypedScopedEnumYAML) { … } TEST(YAMLGeneratorTest, enumTypedefYAML) { … } TEST(YAMLGeneratorTest, emitCommentYAML) { … } } // namespace doc } // namespace clang