diff options
author | Jordan Rose <jordan_rose@apple.com> | 2013-02-22 19:33:13 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2013-02-22 19:33:13 +0000 |
commit | ae7396c3891748762d01431e16541b3eb9125c4d (patch) | |
tree | 93129cef399c6865b1d692804cd767e26a652d52 /lib/Frontend/CompilerInvocation.cpp | |
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
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions