diff options
Diffstat (limited to 'lib/CodeGen/CodeGenTypes.h')
-rw-r--r-- | lib/CodeGen/CodeGenTypes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenTypes.h b/lib/CodeGen/CodeGenTypes.h index 536e881f8d..150e0d615d 100644 --- a/lib/CodeGen/CodeGenTypes.h +++ b/lib/CodeGen/CodeGenTypes.h @@ -84,13 +84,13 @@ class CodeGenTypes { llvm::SmallVector<std::pair<const PointerLikeType *, llvm::OpaqueType *>, 8> PointersToResolve; - llvm::DenseMap<const TagDecl*, llvm::PATypeHolder> TagDeclTypes; + llvm::DenseMap<const Type*, llvm::PATypeHolder> TagDeclTypes; /// CGRecordLayouts - This maps llvm struct type with corresponding /// record layout info. /// FIXME : If CGRecordLayout is less than 16 bytes then use /// inline it in the map. - llvm::DenseMap<const TagDecl*, CGRecordLayout *> CGRecordLayouts; + llvm::DenseMap<const Type*, CGRecordLayout *> CGRecordLayouts; /// FieldInfo - This maps struct field with corresponding llvm struct type /// field no. This info is populated by record organizer. |