//===------------------ ItaniumDemangleTest.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 "llvm/Demangle/ItaniumDemangle.h" #include "llvm/Support/Allocator.h" #include "gmock/gmock.h" #include "gtest/gtest.h" #include <cstdlib> #include <string_view> #include <vector> usingnamespacellvm; usingnamespacellvm::itanium_demangle; namespace { class TestAllocator { … }; } // namespace NodeMatcher // namespace NodeMatcher // Verify Operator table is ordered TEST(ItaniumDemangle, OperatorOrdering) { … } TEST(ItaniumDemangle, MethodOverride) { … } static std::string toString(OutputBuffer &OB) { … } TEST(ItaniumDemangle, HalfType) { … }