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 | e11664a0ef9e1f24b0fa2f651bcb236171ec9425 (patch) | |
tree | 08761a615af94ba76789f3e7e83fa2d8116343de /clang/CodeGen/CodeGenFunction.cpp | |
parent | 26a7f3fd5621a757a1105be94a07979ec03ff816 (diff) | |
download | bcm5719-llvm-e11664a0ef9e1f24b0fa2f651bcb236171ec9425.tar.gz bcm5719-llvm-e11664a0ef9e1f24b0fa2f651bcb236171ec9425.zip |
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.
llvm-svn: 43619
Diffstat (limited to 'clang/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | clang/CodeGen/CodeGenFunction.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/CodeGen/CodeGenFunction.cpp b/clang/CodeGen/CodeGenFunction.cpp index 03d125f2c42..e0d55b59cba 100644 --- a/clang/CodeGen/CodeGenFunction.cpp +++ b/clang/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); } |