aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/Lexer.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2013-03-05 20:27:24 +0000
committerLang Hames <lhames@gmail.com>2013-03-05 20:27:24 +0000
commit23742cd8c6416c6c777904fb837b2021361c4f38 (patch)
treef6cbf2289f9aeca73ae75709313bec76cbfed563 /lib/Lex/Lexer.cpp
parent44f65a587ee39c20e715c9df411c864d328c71b5 (diff)
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> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176512 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/Lexer.cpp')
0 files changed, 0 insertions, 0 deletions