[all-commits] [llvm/llvm-project] c4a315: Add mangling for type trait expressions.

Richard Smith via All-commits all-commits at lists.llvm.org
Thu Sep 21 12:59:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c4a3157d6622928b3773695159d8039cdea140e3
      https://github.com/llvm/llvm-project/commit/c4a3157d6622928b3773695159d8039cdea140e3
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M clang/lib/AST/ItaniumMangle.cpp
    M clang/test/CodeGenCXX/mangle-exprs.cpp

  Log Message:
  -----------
  Add mangling for type trait expressions.

libc++ uses type traits directly in constraints in some places, and
constraints now appear in manglings. There's a defined mangling for
these traits in the ABI already, so we should use it.

Fixes #67031.




More information about the All-commits mailing list