Fix PR48687.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/test/CodeGenCXX/microsoft-abi-member-pointers.cpp | ||
---|---|---|
151–159 | I tried to put the following CHECK for this, it never works no matter where I put namespace pr48687 nor changing CHECK to CHECK-DAG works. So, as long as it does not crash/error, it might be fine. |
clang/test/CodeGenCXX/microsoft-abi-member-pointers.cpp | ||
---|---|---|
151–159 | NVM, the align should be 4. |
Thanks, this seems like the right spot.
clang/lib/Sema/SemaTemplate.cpp | ||
---|---|---|
9767 | Let's remove this condition. There will only ever be inheritance attributes when the MS ABI is in use. I think fewer conditions is usually better. | |
clang/test/CodeGenCXX/microsoft-abi-member-pointers.cpp | ||
151–159 | I see you sorted this out, thanks. I was going to suggest moving it earlier. Clang produces globals in a bit of an odd order. |
Let's remove this condition. There will only ever be inheritance attributes when the MS ABI is in use. I think fewer conditions is usually better.