Skip to content
Commit 8db8e8b8 authored by Chandler Carruth's avatar Chandler Carruth
Browse files

[ADT] Teach alignment helpers to work correctly for abstract classes.

This is necessary to use them as part of pointer traits and is generally
useful. I've added unit test coverage to isolate and ensure this works
correctly.

I'll watch the build bots to try to see if any compilers can't tolerate
this bit of magic (and much credit goes to Richard Smith for coming up
with this magical production!) but give a shout if you see issues.

llvm-svn: 256553
parent 5bd31b37
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment