diff options
author | Anders Carlsson <andersca@mac.com> | 2009-12-30 23:47:56 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-12-30 23:47:56 +0000 |
commit | 0814809e5bc27cccd59b63e99ab1eb52042dc13c (patch) | |
tree | aa2bda7284ff4c7a5c256db2130ce90015134286 /lib/CodeGen/CGVtable.cpp | |
parent | a8c6c448c9d3b09efdaf05023427bb8baafcc9dc (diff) |
Fix a bunch of bugs with VMI RTTI building, and add a whole bunch of tests.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92319 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGVtable.cpp')
-rw-r--r-- | lib/CodeGen/CGVtable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CGVtable.cpp b/lib/CodeGen/CGVtable.cpp index 0552ae7c13..7930f7186d 100644 --- a/lib/CodeGen/CGVtable.cpp +++ b/lib/CodeGen/CGVtable.cpp @@ -752,10 +752,10 @@ TypeConversionRequiresAdjustment(ASTContext &Ctx, } const CXXRecordDecl *DerivedDecl = - cast<CXXRecordDecl>(cast<RecordType>(CanDerivedType)->getDecl()); + cast<CXXRecordDecl>(cast<RecordType>(CanDerivedType)->getDecl()); const CXXRecordDecl *BaseDecl = - cast<CXXRecordDecl>(cast<RecordType>(CanBaseType)->getDecl()); + cast<CXXRecordDecl>(cast<RecordType>(CanBaseType)->getDecl()); return TypeConversionRequiresAdjustment(Ctx, DerivedDecl, BaseDecl); } |