[cfe-commits] r53248 - /cfe/trunk/lib/AST/Expr.cpp

Nuno Lopes nunoplopes at sapo.pt
Tue Jul 8 14:13:07 PDT 2008


Author: nlopes
Date: Tue Jul  8 16:13:06 2008
New Revision: 53248

URL: http://llvm.org/viewvc/llvm-project?rev=53248&view=rev
Log:
revert my bogus attempt to fix the comment. sorry for the noise.

Modified:
    cfe/trunk/lib/AST/Expr.cpp

Modified: cfe/trunk/lib/AST/Expr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Expr.cpp?rev=53248&r1=53247&r2=53248&view=diff

==============================================================================
--- cfe/trunk/lib/AST/Expr.cpp (original)
+++ cfe/trunk/lib/AST/Expr.cpp Tue Jul  8 16:13:06 2008
@@ -670,7 +670,7 @@
 /// expression. The generalization of the wording to include any subexpression
 /// that is not evaluated (C99 6.6p3) means that nonconstant subexpressions
 /// can appear as operands to other operators (e.g. &&, ||, ?:). For instance,
-/// "1 || f()" can be treated as a constant expression. In C90 this expression,
+/// "0 || f()" can be treated as a constant expression. In C90 this expression,
 /// occurring in a context requiring a constant, would have been a constraint
 /// violation. FIXME: This routine currently implements C90 semantics.
 /// To properly implement C99 semantics this routine will need to evaluate





More information about the cfe-commits mailing list