diff options
author | Charles Davis <cdavis@mines.edu> | 2010-02-23 04:52:00 +0000 |
---|---|---|
committer | Charles Davis <cdavis@mines.edu> | 2010-02-23 04:52:00 +0000 |
commit | 05f62474dd2b0f1cb69adbe0787f2868788aa949 (patch) | |
tree | 871666d8384a86f6a30119c4ac87616fb2b9971e /lib/Analysis/ReachableCode.cpp | |
parent | 464c8f176b4590aa3cab643865ab985423063dd5 (diff) |
When a reference to a field of a struct/union/class is passed to the
__alignof__ operator, make sure to take into account the packed alignment
of the struct/union/class itself. Matches GCC's behavior and fixes PR6362.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96884 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ReachableCode.cpp')
0 files changed, 0 insertions, 0 deletions