teemperor added a comment.
You're right, we can't fix up the types afterwards so I guess inferring the
attribute isn't an option here.
I'll try to find some time to properly look at this next week, but in the
meantime I pushed your bug report into creduce over night and that's what it
spit out (I pasted the same into the bug report):
template <typename a> struct b { [[__no_unique_address__]] a c; };
template <unsigned long, typename... d> struct e;
template <unsigned long f, typename a, typename... g>
struct e<f, a, g...> : e<1, g...>, b<a> {};
template <unsigned long f, typename a> struct e<f, a> : b<a> {};
template <typename... d> class h : e<0, d...> {};
class A {
struct i {};
using j = i;
h<j, int> k;
} iup;
int main() {
return sizeof(iup);
}
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101237/new/
https://reviews.llvm.org/D101237
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits