summaryrefslogtreecommitdiffstats
path: root/clang/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-11-01 19:11:01 +0000
committerDevang Patel <dpatel@apple.com>2007-11-01 19:11:01 +0000
commite11664a0ef9e1f24b0fa2f651bcb236171ec9425 (patch)
tree08761a615af94ba76789f3e7e83fa2d8116343de /clang/CodeGen/CodeGenFunction.cpp
parent26a7f3fd5621a757a1105be94a07979ec03ff816 (diff)
downloadbcm5719-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.cpp8
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);
}
OpenPOWER on IntegriCloud