commit | ae7396c3891748762d01431e16541b3eb9125c4d | [log] [tgz] |
---|---|---|
author | Jordan Rose <jordan_rose@apple.com> | Fri Feb 22 19:33:13 2013 +0000 |
committer | Jordan Rose <jordan_rose@apple.com> | Fri Feb 22 19:33:13 2013 +0000 |
tree | 93129cef399c6865b1d692804cd767e26a652d52 | |
parent | 4c67aa96401b67b5200e701cff87485067ab0792 [diff] |
[analyzer] Don't canonicalize the RecordDecl used in CXXBaseObjectRegion. This Decl shouldn't be the canonical Decl; it should be the Decl used by the CXXBaseSpecifier in the subclass. Unfortunately, that means continuing to throw getCanonicalDecl() on all comparisons. This fixes MemRegion::getAsOffset's use of ASTRecordLayout when redeclarations are involved. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175913 91177308-0d34-0410-b5e6-96231b3b80d8