forked from OSchip/llvm-project
parent
072d0bb247
commit
6915cbe7a2
|
@ -494,7 +494,7 @@ void CodeGenTypes::addBitFieldInfo(const FieldDecl *FD, unsigned FieldNo,
|
|||
|
||||
/// getCGRecordLayout - Return record layout info for the given llvm::Type.
|
||||
const CGRecordLayout &
|
||||
CodeGenTypes::getCGRecordLayout(const TagDecl *TD) const {
|
||||
CodeGenTypes::getCGRecordLayout(const RecordDecl *TD) const {
|
||||
const Type *Key = Context.getTagDeclType(TD).getTypePtr();
|
||||
llvm::DenseMap<const Type*, CGRecordLayout *>::const_iterator I
|
||||
= CGRecordLayouts.find(Key);
|
||||
|
|
|
@ -148,7 +148,7 @@ public:
|
|||
/// and/or incomplete argument types, this will return the opaque type.
|
||||
const llvm::Type *GetFunctionTypeForVtable(const CXXMethodDecl *MD);
|
||||
|
||||
const CGRecordLayout &getCGRecordLayout(const TagDecl*) const;
|
||||
const CGRecordLayout &getCGRecordLayout(const RecordDecl*) const;
|
||||
|
||||
/// getLLVMFieldNo - Return llvm::StructType element number
|
||||
/// that corresponds to the field FD.
|
||||
|
|
Loading…
Reference in New Issue