[all-commits] [llvm/llvm-project] ef067c: Fix MSVC Demangling with auto NTTP mangled names f...

Max Winkler via All-commits all-commits at lists.llvm.org
Wed Jun 26 22:24:50 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ef067cf4b6d46cd48d2ed5cfe2300fe83b6bcc8a
      https://github.com/llvm/llvm-project/commit/ef067cf4b6d46cd48d2ed5cfe2300fe83b6bcc8a
  Author: Max Winkler <max.enrico.winkler at gmail.com>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

  Changed paths:
    M llvm/lib/Demangle/MicrosoftDemangle.cpp
    A llvm/test/Demangle/ms-auto-templates.test

  Log Message:
  -----------
  Fix MSVC Demangling with auto NTTP mangled names for function pointer, pointer to data and integral types (#96590)

As cited here, https://github.com/llvm/llvm-project/pull/92477, undname
needs updating to support the new auto NTTP name mangling.

In short the deduced type of the auto NTTP parameter is mangled as `$M
<type> <nttp-param>`. However the deduced type is not printed for the
undecorated name so the `$M <type>` is parsed but simply ignored when
stringifying the generated AST.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list