Commit Graph

2 Commits

Author SHA1 Message Date
Gabor Buella ace7da1b11 NFC - Fix typo in test/Layout/itanium-pack-and-align.cpp
llvm-svn: 336262
2018-07-04 11:21:44 +00:00
Momchil Velikov fe76b36ab1 [Sema] Fix incorrect packed aligned structure layout
Handle attributes before checking the record layout (e.g. underalignment check
during `alignas` processing), as layout may be cached without taking into
account attributes that may affect it.

Differential Revision: https://reviews.llvm.org/D46439

llvm-svn: 332843
2018-05-21 14:28:43 +00:00