r202444 - "&&&" != "&&"
Richard Trieu
rtrieu at google.com
Thu Feb 27 15:59:14 PST 2014
Author: rtrieu
Date: Thu Feb 27 17:59:14 2014
New Revision: 202444
URL: http://llvm.org/viewvc/llvm-project?rev=202444&view=rev
Log:
"&&&" != "&&"
Modified:
cfe/trunk/lib/AST/Stmt.cpp
Modified: cfe/trunk/lib/AST/Stmt.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Stmt.cpp?rev=202444&r1=202443&r2=202444&view=diff
==============================================================================
--- cfe/trunk/lib/AST/Stmt.cpp (original)
+++ cfe/trunk/lib/AST/Stmt.cpp Thu Feb 27 17:59:14 2014
@@ -803,7 +803,7 @@ CXXForRangeStmt::CXXForRangeStmt(DeclStm
Expr *CXXForRangeStmt::getRangeInit() {
DeclStmt *RangeStmt = getRangeStmt();
VarDecl *RangeDecl = dyn_cast_or_null<VarDecl>(RangeStmt->getSingleDecl());
- assert(RangeDecl &&& "for-range should have a single var decl");
+ assert(RangeDecl && "for-range should have a single var decl");
return RangeDecl->getInit();
}
More information about the cfe-commits
mailing list