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 | 893d73b7e924a343d51363332c4c57fd858a9ecc (patch) | |
tree | 51b4ccada365f5aa44fbaa7c044cfa9f078de619 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | f32b3f2c55ece0c7ed62035604de04620e0cb2b5 (diff) | |
download | llvm-893d73b7e924a343d51363332c4c57fd858a9ecc.zip llvm-893d73b7e924a343d51363332c4c57fd858a9ecc.tar.gz llvm-893d73b7e924a343d51363332c4c57fd858a9ecc.tar.bz2 |
[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.
llvm-svn: 175913
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions