[libcxx-commits] [libcxxabi] [llvm] [libcxxabi][ItaniumDemangle] Demangle explicitly named object parameters (PR #72881)

Emma Pilkington via libcxx-commits libcxx-commits at lists.llvm.org
Fri Nov 24 20:27:29 PST 2023


================
@@ -890,6 +890,29 @@ class DynamicExceptionSpec : public Node {
   }
 };
 
+/// Represents the explicitly named object parameter.
+/// E.g.,
+/// \code{.cpp}
+///   struct Foo {
+///     void bar(this Foo && self);
+///   };
+/// \endcode
+class ExplicitObjectParameter final : public Node {
+  Node *Base;
+
+public:
+  ExplicitObjectParameter(Node *Base_)
+      : Node(KExplicitObjectParameter, Cache::Yes), Base(Base_) {
+    assert(Base != nullptr);
----------------
epilk wrote:

Maybe the bots are rebasing your changes on top of https://github.com/llvm/llvm-project/commit/c4779ea8e709a7bce7288988fabf1ba50e9c9477 ?

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


More information about the libcxx-commits mailing list