commit | 05f62474dd2b0f1cb69adbe0787f2868788aa949 | [log] [tgz] |
---|---|---|
author | Charles Davis <cdavis@mines.edu> | Tue Feb 23 04:52:00 2010 +0000 |
committer | Charles Davis <cdavis@mines.edu> | Tue Feb 23 04:52:00 2010 +0000 |
tree | 871666d8384a86f6a30119c4ac87616fb2b9971e | |
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