[clang] [ItaniumMangle] Use mangleType instead of mangleNameOrStandardSubstitution in mangleCXXCtorVTable function (PR #109970)

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 26 17:45:15 PDT 2024


================
@@ -1214,3 +1216,25 @@ namespace test61 {
   // CHECK-LABEL: @_ZN6test611fINS_1XEEEvNT_1Y1aENS3_1bE
   template void f<X>(int, int);
 }
+
+namespace test62 {
+namespace A {
+
+class VBase {
+ public:
+  virtual ~VBase() {};
+};
+
+struct Wrap {};
+
+template <typename T>
+class Impl : public virtual VBase {
+ public:
+};
+
+}  // namespace A
+
+struct Inst : public A::Impl<A::Wrap> {};
+
+void Test() { Inst a; }
----------------
zygoloid wrote:

This is a huge test file and unfortunately the test expectations here end up well over a thousand lines from the test. Can you move this to a different test file, maybe `mangle-subst.cpp` instead?

https://github.com/llvm/llvm-project/pull/109970


More information about the cfe-commits mailing list