commit | d2cf348f0df76bf1745f131db2ceeb59f23a7305 | [log] [tgz] |
---|---|---|
author | Sean Callanan <scallanan@apple.com> | Fri May 04 18:22:53 2012 +0000 |
committer | Sean Callanan <scallanan@apple.com> | Fri May 04 18:22:53 2012 +0000 |
tree | f01735b0a462928e8124c6c6f225293f4e4921d1 | |
parent | 12dcc64eebf7aaffb71392fba74fcb69f35d3b2e [diff] |
IsTailPaddedMemberArray uses a FieldDecl's getTypeSourceInfo() without checking for NULL. FieldDecls may have NULL TypeSourceInfo, and in fact some FieldDecls generated by Clang -- and all FieldDecls generated by LLDB -- have no TypeSourceInfo. This patch makes IsTailPaddedMemberArray check for NULL. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156186 91177308-0d34-0410-b5e6-96231b3b80d8