[cfe-commits] r157434 - /cfe/trunk/lib/Sema/SemaExprCXX.cpp

Eli Friedman eli.friedman at gmail.com
Thu May 24 15:36:32 PDT 2012


Author: efriedma
Date: Thu May 24 17:36:31 2012
New Revision: 157434

URL: http://llvm.org/viewvc/llvm-project?rev=157434&view=rev
Log:
Get rid of some non-ASCII en-dashes that crept in.


Modified:
    cfe/trunk/lib/Sema/SemaExprCXX.cpp

Modified: cfe/trunk/lib/Sema/SemaExprCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaExprCXX.cpp?rev=157434&r1=157433&r2=157434&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaExprCXX.cpp (original)
+++ cfe/trunk/lib/Sema/SemaExprCXX.cpp Thu May 24 17:36:31 2012
@@ -5275,34 +5275,34 @@
   //   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()) &&





More information about the cfe-commits mailing list