aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2008-07-08 21:13:06 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2008-07-08 21:13:06 +0000
commit5f6b632391e24b08ead3e62ba2e2765e770382ed (patch)
tree9827ce5d1a0fd1c29e0bffe31d69874ba91bba7b
parent559e56b3a201316ae0b7e7389879a8054f6a3a82 (diff)
revert my bogus attempt to fix the comment. sorry for the noise.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53248 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/AST/Expr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/Expr.cpp b/lib/AST/Expr.cpp
index 8d9bbcb65a..de0c740fd2 100644
--- a/lib/AST/Expr.cpp
+++ b/lib/AST/Expr.cpp
@@ -670,7 +670,7 @@ bool Expr::isConstantExpr(ASTContext &Ctx, SourceLocation *Loc) const {
/// 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