This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/82195] Undemangleable lambda


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82195

--- Comment #1 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Created attachment 42164
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42164&action=edit
simpler testcase

A slightly simpler testcase.  The mangling of the Capture instantiation is:
_Z7CaptureIZZ3FoovENKUlT_E_clIiEEvS0_EUlvE_EvOS0_
which is undemanglable:
template
  name 'Capture'
  template argument list
    local name
      typed name
        local name
          typed name
            name 'Foo'
            function type
              argument list
          const this
            template
              qualified name
                lambda 0
                  argument list
                    template parameter 0
                operator ()
              template argument list
                builtin type int
        function type
          argument list
            builtin type void
            argument list
              template parameter 0
      lambda 0
        argument list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]