From c49c22642bf8a71856027f5fbb9b279f089ad13b Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Thu, 24 May 2012 22:36:31 +0000 Subject: [PATCH] Get rid of some non-ASCII en-dashes that crept in. llvm-svn: 157434 --- clang/lib/Sema/SemaExprCXX.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/clang/lib/Sema/SemaExprCXX.cpp b/clang/lib/Sema/SemaExprCXX.cpp index d98cb87..d1567c8 100644 --- a/clang/lib/Sema/SemaExprCXX.cpp +++ b/clang/lib/Sema/SemaExprCXX.cpp @@ -5275,34 +5275,34 @@ static bool IsSpecialDiscardedValue(Expr *E) { // one of the following forms: E = E->IgnoreParens(); - // — id-expression (5.1.1), + // - id-expression (5.1.1), if (isa(E)) return true; - // — subscripting (5.2.1), + // - subscripting (5.2.1), if (isa(E)) return true; - // — class member access (5.2.5), + // - class member access (5.2.5), if (isa(E)) return true; - // — indirection (5.3.1), + // - indirection (5.3.1), if (UnaryOperator *UO = dyn_cast(E)) if (UO->getOpcode() == UO_Deref) return true; if (BinaryOperator *BO = dyn_cast(E)) { - // — pointer-to-member operation (5.5), + // - pointer-to-member operation (5.5), if (BO->isPtrMemOp()) return true; - // — comma expression (5.18) where the right operand is one of the above. + // - comma expression (5.18) where the right operand is one of the above. if (BO->getOpcode() == BO_Comma) return IsSpecialDiscardedValue(BO->getRHS()); } - // — conditional expression (5.16) where both the second and the third + // - conditional expression (5.16) where both the second and the third // operands are one of the above, or if (ConditionalOperator *CO = dyn_cast(E)) return IsSpecialDiscardedValue(CO->getTrueExpr()) && -- 2.7.4