//===-- CLanguagesTest.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 "Plugins/Language/CPlusPlus/CPlusPlusLanguage.h" #include "Plugins/Language/ObjC/ObjCLanguage.h" #include "Plugins/Language/ObjCPlusPlus/ObjCPlusPlusLanguage.h" #include "TestingSupport/SubsystemRAII.h" #include "lldb/lldb-enumerations.h" #include "gmock/gmock.h" #include "gtest/gtest.h" usingnamespacelldb_private; /// Returns the name of the LLDB plugin for the given language or an empty /// string if there is no fitting plugin. static llvm::StringRef GetPluginName(lldb::LanguageType language) { … } TEST(CLanguages, LookupCLanguagesByLanguageType) { … }