r230479 - Fix UTF8 chars to ASCII.

NAKAMURA Takumi geek4civic at gmail.com
Wed Feb 25 03:02:00 PST 2015


Author: chapuni
Date: Wed Feb 25 05:02:00 2015
New Revision: 230479

URL: http://llvm.org/viewvc/llvm-project?rev=230479&view=rev
Log:
Fix UTF8 chars to ASCII.

Modified:
    cfe/trunk/lib/Sema/SemaInit.cpp
    cfe/trunk/lib/Sema/SemaOverload.cpp

Modified: cfe/trunk/lib/Sema/SemaInit.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaInit.cpp?rev=230479&r1=230478&r2=230479&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaInit.cpp (original)
+++ cfe/trunk/lib/Sema/SemaInit.cpp Wed Feb 25 05:02:00 2015
@@ -3193,9 +3193,9 @@ ResolveConstructorOverload(Sema &S, Sour
       // C++11 [over.best.ics]p4:
       //   ... and the constructor or user-defined conversion function is a
       //   candidate by
-      //   — 13.3.1.3, when the argument is the temporary in the second step
+      //   - 13.3.1.3, when the argument is the temporary in the second step
       //     of a class copy-initialization, or
-      //   — 13.3.1.4, 13.3.1.5, or 13.3.1.6 (in all cases),
+      //   - 13.3.1.4, 13.3.1.5, or 13.3.1.6 (in all cases),
       //   user-defined conversion sequences are not considered.
       // FIXME: This breaks backward compatibility, e.g. PR12117. As a
       //        temporary fix, let's re-instate the third bullet above until

Modified: cfe/trunk/lib/Sema/SemaOverload.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaOverload.cpp?rev=230479&r1=230478&r2=230479&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaOverload.cpp (original)
+++ cfe/trunk/lib/Sema/SemaOverload.cpp Wed Feb 25 05:02:00 2015
@@ -3342,7 +3342,7 @@ CompareImplicitConversionSequences(Sema
   // list-initialization sequence L2 if:
   // - L1 converts to std::initializer_list<X> for some X and L2 does not, or,
   //   if not that,
-  // - L1 converts to type “array of N1 T”, L2 converts to type “array of N2 T”,
+  // - L1 converts to type "array of N1 T", L2 converts to type "array of N2 T",
   //   and N1 is smaller than N2.,
   // even if one of the other rules in this paragraph would otherwise apply.
   if (!ICS1.isBad()) {
@@ -4501,7 +4501,7 @@ TryListConversion(Sema &S, InitListExpr
   //   element of the list to X.
   //
   // C++14 [over.ics.list]p3:
-  //   Otherwise, if the parameter type is “array of N X”, if the initializer
+  //   Otherwise, if the parameter type is "array of N X", if the initializer
   //   list has exactly N elements or if it has fewer than N elements and X is
   //   default-constructible, and if all the elements of the initializer list
   //   can be implicitly converted to X, the implicit conversion sequence is






More information about the cfe-commits mailing list