[PATCH] D156546: [Clang][WIP]Experimental implementation of data member packs declarations

Zenong Zhang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 28 15:43:20 PDT 2023


SlaterLatiao added inline comments.


================
Comment at: clang/test/CodeGenCXX/packed_data_member.cpp:8-12
+template<typename T, typename... Ts> struct S2 {
+    T t[2];
+    Ts... ts;
+};
+
----------------
dblaikie wrote:
> Did this test case come out of any particular bug discovered during implementation?
No. I just wanted to test the case when the packed parameter is not the only parameter.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156546



More information about the cfe-commits mailing list