[all-commits] [llvm/llvm-project] d1dc41: Fix MSVC 1920+ auto NTTP mangling for pointers to ...

Max Winkler via All-commits all-commits at lists.llvm.org
Thu Jul 4 10:17:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d1dc4169838381688a74f245cdaedbe9fce13848
      https://github.com/llvm/llvm-project/commit/d1dc4169838381688a74f245cdaedbe9fce13848
  Author: Max Winkler <max.enrico.winkler at gmail.com>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/MicrosoftMangle.cpp
    A clang/test/CodeGenCXX/mangle-ms-auto-templates-memptrs.cpp
    A clang/test/CodeGenCXX/mangle-ms-auto-templates-nullptr.cpp
    M llvm/lib/Demangle/MicrosoftDemangle.cpp
    M llvm/test/Demangle/ms-auto-templates.test

  Log Message:
  -----------
  Fix MSVC 1920+ auto NTTP mangling for pointers to members (#97007)

Fixes https://github.com/llvm/llvm-project/issues/70899.

This is a continuation of
https://github.com/llvm/llvm-project/pull/92477 for pointers to member
data and pointers to member functions.

The mangled name must be prefixed with `$M <mangled-type>` for the
deduced type of the nttp parameter.



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