[PATCH] D89998: [c++20] For P0732R2 / P1907R1: Basic code generation and name mangling supportfor non-type template parameters of class type and template parameter objects.

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 27 11:43:17 PDT 2020


rsmith updated this revision to Diff 301070.
rsmith added a comment.

  - Ignore cv-qualifiers in member types for Itanium mangling.
  - Add MSVC-compatible mangling support.
  - Fix bug where template argument value mangling would be used when passing a template parameter object as a pointer or reference template argument.
1. Updating D89998 <https://reviews.llvm.org/D89998>: [c++20] For P0732R2 / P1907R1: Basic code generation and name mangling support

for non-type template parameters of class type and template parameter objects.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D89998/new/

https://reviews.llvm.org/D89998

Files:
  clang/include/clang/AST/ASTContext.h
  clang/lib/AST/APValue.cpp
  clang/lib/AST/ASTContext.cpp
  clang/lib/AST/Decl.cpp
  clang/lib/AST/ItaniumMangle.cpp
  clang/lib/AST/Linkage.h
  clang/lib/AST/MicrosoftMangle.cpp
  clang/lib/CodeGen/CGCXXABI.cpp
  clang/lib/CodeGen/CGCXXABI.h
  clang/lib/CodeGen/CodeGenModule.cpp
  clang/lib/CodeGen/ItaniumCXXABI.cpp
  clang/test/CodeGenCXX/mangle-class-nttp.cpp
  clang/test/CodeGenCXX/template-param-objects.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89998.301070.patch
Type: text/x-patch
Size: 57780 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201027/dd4c7354/attachment-0001.bin>


More information about the cfe-commits mailing list