diff options
| author | Anders Carlsson <andersca@mac.com> | 2010-02-03 16:38:03 +0000 |
|---|---|---|
| committer | Anders Carlsson <andersca@mac.com> | 2010-02-03 16:38:03 +0000 |
| commit | 3b227bd6294e00952131ab08d2812caa8f6cfb45 (patch) | |
| tree | a9c19179b6ce04a95ebc063fc8353f31e1972c15 /clang/lib/CodeGen/CodeGenFunction.h | |
| parent | 5bb4efdf3c83f3d60298ab6037606f4cb79a5d99 (diff) | |
| download | bcm5719-llvm-3b227bd6294e00952131ab08d2812caa8f6cfb45.tar.gz bcm5719-llvm-3b227bd6294e00952131ab08d2812caa8f6cfb45.zip | |
Revert the new reference binding code; I came up with a way simpler solution for the reference binding bug that is preventing self-hosting.
llvm-svn: 95223
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 5de91ee3351..3e47469e76c 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -1111,10 +1111,7 @@ public: /// EmitReferenceBindingToExpr - Emits a reference binding to the passed in /// expression. Will emit a temporary variable if E is not an LValue. - RValue EmitReferenceBindingToExpr(const Expr* E, QualType DestType, - bool IsInitializer = false); - - llvm::Value *EmitCXXBindReferenceExpr(const CXXBindReferenceExpr *E); + RValue EmitReferenceBindingToExpr(const Expr* E, bool IsInitializer = false); //===--------------------------------------------------------------------===// // Expression Emission |

