summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-08-24 16:52:33 +0000
committerAnders Carlsson <andersca@mac.com>2009-08-24 16:52:33 +0000
commit4557b2c0c2b38502ef24fa703d11e3a31b9dae85 (patch)
treef69d29cfdde1960138251fd2b8aa225a612de15b /clang/lib/CodeGen/CodeGenFunction.cpp
parent8a2e601917708b677c4af0f741d738c7c4802cd6 (diff)
downloadbcm5719-llvm-4557b2c0c2b38502ef24fa703d11e3a31b9dae85.tar.gz
bcm5719-llvm-4557b2c0c2b38502ef24fa703d11e3a31b9dae85.zip
Remove dead code
llvm-svn: 79921
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp
index d0c722ecfb2..defd5f7d16d 100644
--- a/clang/lib/CodeGen/CodeGenFunction.cpp
+++ b/clang/lib/CodeGen/CodeGenFunction.cpp
@@ -404,15 +404,6 @@ void CodeGenFunction::EmitBranchOnBoolExpr(const Expr *Cond,
Builder.CreateCondBr(CondV, TrueBlock, FalseBlock);
}
-/// getCGRecordLayout - Return record layout info.
-const CGRecordLayout *CodeGenFunction::getCGRecordLayout(CodeGenTypes &CGT,
- QualType Ty) {
- const RecordType *RTy = Ty->getAs<RecordType>();
- assert (RTy && "Unexpected type. RecordType expected here.");
-
- return CGT.getCGRecordLayout(RTy->getDecl());
-}
-
/// ErrorUnsupported - Print out an error that codegen doesn't support the
/// specified stmt yet.
void CodeGenFunction::ErrorUnsupported(const Stmt *S, const char *Type,
OpenPOWER on IntegriCloud