[llvm] [libcxxabi] [libcxxabi][ItaniumDemangle] Demangle explicitly named object parameters (PR #72881)
Michael Buch via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 25 00:34:13 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);
----------------
Michael137 wrote:
ah good catch!
https://github.com/llvm/llvm-project/pull/72881
More information about the llvm-commits
mailing list