aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaExprCXX.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2012-05-24 22:36:31 +0000
committerEli Friedman <eli.friedman@gmail.com>2012-05-24 22:36:31 +0000
commit0218068cbbb2e98164431653d76587e5b8bb9c38 (patch)
tree49d332409ea62db8add93e02ad5b6ae5808b7295 /lib/Sema/SemaExprCXX.cpp
parente26073c85259be1c2f397797cc59286ac85fb3b8 (diff)
Get rid of some non-ASCII en-dashes that crept in.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157434 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExprCXX.cpp')
-rw-r--r--lib/Sema/SemaExprCXX.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/Sema/SemaExprCXX.cpp b/lib/Sema/SemaExprCXX.cpp
index d98cb87dfb..d1567c8d6c 100644
--- a/lib/Sema/SemaExprCXX.cpp
+++ b/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<DeclRefExpr>(E))
return true;
- // — subscripting (5.2.1),
+ // - subscripting (5.2.1),
if (isa<ArraySubscriptExpr>(E))
return true;
- // — class member access (5.2.5),
+ // - class member access (5.2.5),
if (isa<MemberExpr>(E))
return true;
- // — indirection (5.3.1),
+ // - indirection (5.3.1),
if (UnaryOperator *UO = dyn_cast<UnaryOperator>(E))
if (UO->getOpcode() == UO_Deref)
return true;
if (BinaryOperator *BO = dyn_cast<BinaryOperator>(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<ConditionalOperator>(E))
return IsSpecialDiscardedValue(CO->getTrueExpr()) &&