summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2012-05-04 18:22:53 +0000
committerSean Callanan <scallanan@apple.com>2012-05-04 18:22:53 +0000
commit06a48a62b39b480c6c4cc96fcbfa83c296a6477a (patch)
treebb87fccce87d3121f4877458cb2b58f9169bb418 /llvm/lib/CodeGen/CodeGen.cpp
parent566e40775b6358087a80e20c617eb6d42ee8623b (diff)
downloadbcm5719-llvm-06a48a62b39b480c6c4cc96fcbfa83c296a6477a.tar.gz
bcm5719-llvm-06a48a62b39b480c6c4cc96fcbfa83c296a6477a.zip
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. llvm-svn: 156186
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud