From 88a981b47c7face1b1fdaa9074256245107b9ca9 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Thu, 1 Nov 2007 19:11:01 +0000 Subject: Rename classes and collections that maintain record layout information. Now, at AST level record info is maintained by ASTRecordLayout class. Now, at code gen level record info is maintained by CGRecordLayout class. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43619 91177308-0d34-0410-b5e6-96231b3b80d8 --- CodeGen/CodeGenFunction.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'CodeGen/CodeGenFunction.cpp') diff --git a/CodeGen/CodeGenFunction.cpp b/CodeGen/CodeGenFunction.cpp index 03d125f2c4..e0d55b59cb 100644 --- a/CodeGen/CodeGenFunction.cpp +++ b/CodeGen/CodeGenFunction.cpp @@ -126,14 +126,14 @@ void CodeGenFunction::StartBlock(const char *N) { BB->setName(N); } -/// getRecordLayoutInfo - Return record layout info. -const RecordLayoutInfo *CodeGenFunction::getRecordLayoutInfo(CodeGenTypes &CGT, - QualType RTy) { +/// getCGRecordLayout - Return record layout info. +const CGRecordLayout *CodeGenFunction::getCGRecordLayout(CodeGenTypes &CGT, + QualType RTy) { assert (isa(RTy) && "Unexpected type. RecordType expected here."); const llvm::Type *Ty = ConvertType(RTy); assert (Ty && "Unable to find llvm::Type"); - return CGT.getRecordLayoutInfo(Ty); + return CGT.getCGRecordLayout(Ty); } -- cgit v1.2.3-70-g09d2