[all-commits] [llvm/llvm-project] 18e093: [msabi] Mangle a template argument referring to ar...

Richard Smith via All-commits all-commits at lists.llvm.org
Tue Jan 19 14:42:59 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 18e093faf726d15f210ab4917142beec51848258
      https://github.com/llvm/llvm-project/commit/18e093faf726d15f210ab4917142beec51848258
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2021-01-19 (Tue, 19 Jan 2021)

  Changed paths:
    M clang/lib/AST/MicrosoftMangle.cpp
    M clang/test/CodeGenCXX/mangle-ms-templates.cpp

  Log Message:
  -----------
  [msabi] Mangle a template argument referring to array-to-pointer decay
applied to an array the same as the array itself.

This follows MS ABI, and corrects a regression from the implementation
of generalized non-type template parameters, where we "forgot" how to
mangle this case.




More information about the All-commits mailing list