diff options
author | Devang Patel <dpatel@apple.com> | 2007-11-01 19:11:01 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-11-01 19:11:01 +0000 |
commit | 88a981b47c7face1b1fdaa9074256245107b9ca9 (patch) | |
tree | be570f26ce7529ff964606a48d7adb85c47d373a /CodeGen/CodeGenFunction.cpp | |
parent | a9a4a24592a2164114a8a36717650e6341eb67a4 (diff) |
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
Diffstat (limited to 'CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | CodeGen/CodeGenFunction.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<RecordType>(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); } |