]> granicus.if.org Git - clang/commitdiff
Fix UTF8 chars to ASCII.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 25 Feb 2015 11:02:00 +0000 (11:02 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 25 Feb 2015 11:02:00 +0000 (11:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@230479 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaInit.cpp
lib/Sema/SemaOverload.cpp

index 9eb7700e9eab6e7a38585caf5a19cd10cc3d1135..4a6531e5069ed77ad2ffe4380cba4a73893ab420 100644 (file)
@@ -3193,9 +3193,9 @@ ResolveConstructorOverload(Sema &S, SourceLocation DeclLoc,
       // 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
index 0728f783aad82a504eee3d81b5f6e77814b97210..65ee2f59472b426be48cc91af733c3d91c5ee780 100644 (file)
@@ -3342,7 +3342,7 @@ CompareImplicitConversionSequences(Sema &S,
   // 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 *From, QualType ToType,
   //   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