[cfe-commits] r89104 - /cfe/trunk/include/clang/AST/Expr.h
Douglas Gregor
dgregor at apple.com
Tue Nov 17 08:44:58 PST 2009
Author: dgregor
Date: Tue Nov 17 10:44:57 2009
New Revision: 89104
URL: http://llvm.org/viewvc/llvm-project?rev=89104&view=rev
Log:
Make sure, for sure this time, that expressions do not have reference type
Modified:
cfe/trunk/include/clang/AST/Expr.h
Modified: cfe/trunk/include/clang/AST/Expr.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Expr.h?rev=89104&r1=89103&r2=89104&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Expr.h (original)
+++ cfe/trunk/include/clang/AST/Expr.h Tue Nov 17 10:44:57 2009
@@ -87,7 +87,7 @@
// type. Additionally, inspect Expr::isLvalue to determine whether
// an expression that is adjusted in this manner should be
// considered an lvalue.
- assert((TR.isNull() || !TR->isReferenceType()) &&
+ assert((t.isNull() || !t->isReferenceType()) &&
"Expressions can't have reference type");
TR = t;
More information about the cfe-commits
mailing list