Skip to content
Commit 224ae88b authored by Lang Hames's avatar Lang Hames
Browse files

Use ASTContext::getDeclAlign(<Field Decl>) to get the alignment of the first

field to be memcpy'd, rather instead of ASTContext::getTypeAlign(<Field Type>).
For packed structs the alignment of a field may be less than the alignment of
the field's type.

<rdar://problem/13338585>

llvm-svn: 176512
parent 37f2ab48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment