diff options
author | Pavel Labath <labath@google.com> | 2013-08-29 16:06:04 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2013-08-29 16:06:04 +0000 |
commit | 2c65dfaab5e1323d46aea73366e15e856fe24e83 (patch) | |
tree | fe2c8f28b9ac3d3c09e737fbc71c3e7e2661ad5f /clang/lib/Basic/IdentifierTable.cpp | |
parent | 70e7e19e57c8e561fac2a1e2b9bde528e424fc22 (diff) | |
download | bcm5719-llvm-2c65dfaab5e1323d46aea73366e15e856fe24e83.tar.gz bcm5719-llvm-2c65dfaab5e1323d46aea73366e15e856fe24e83.zip |
[analyzer] Fix handling of "empty" structs with base classes
Summary:
RegionStoreManager had an optimization which replaces references to empty
structs with UnknownVal. Unfortunately, this check didn't take into account
possible field members in base classes.
To address this, I changed this test to "is empty and has no base classes". I
don't consider it worth the trouble to go through base classes and check if all
of them are empty.
Reviewers: jordan_rose
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1547
llvm-svn: 189590
Diffstat (limited to 'clang/lib/Basic/IdentifierTable.cpp')
0 files changed, 0 insertions, 0 deletions