diff options
| author | Sean Callanan <scallanan@apple.com> | 2012-05-04 18:22:53 +0000 |
|---|---|---|
| committer | Sean Callanan <scallanan@apple.com> | 2012-05-04 18:22:53 +0000 |
| commit | 06a48a62b39b480c6c4cc96fcbfa83c296a6477a (patch) | |
| tree | bb87fccce87d3121f4877458cb2b58f9169bb418 /llvm/lib/Support/BranchProbability.cpp | |
| parent | 566e40775b6358087a80e20c617eb6d42ee8623b (diff) | |
| download | bcm5719-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/Support/BranchProbability.cpp')
0 files changed, 0 insertions, 0 deletions

