diff options
author | Anders Carlsson <andersca@mac.com> | 2009-08-24 16:52:33 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-08-24 16:52:33 +0000 |
commit | 4557b2c0c2b38502ef24fa703d11e3a31b9dae85 (patch) | |
tree | f69d29cfdde1960138251fd2b8aa225a612de15b /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 8a2e601917708b677c4af0f741d738c7c4802cd6 (diff) | |
download | bcm5719-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.cpp | 9 |
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, |