From 83722d61eb757d2b7a5980959ec3023126ff6273 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Wed, 25 Feb 2015 11:02:00 +0000 Subject: [PATCH] Fix UTF8 chars to ASCII. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@230479 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/SemaInit.cpp | 4 ++-- lib/Sema/SemaOverload.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Sema/SemaInit.cpp b/lib/Sema/SemaInit.cpp index 9eb7700e9e..4a6531e506 100644 --- a/lib/Sema/SemaInit.cpp +++ b/lib/Sema/SemaInit.cpp @@ -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 diff --git a/lib/Sema/SemaOverload.cpp b/lib/Sema/SemaOverload.cpp index 0728f783aa..65ee2f5947 100644 --- a/lib/Sema/SemaOverload.cpp +++ b/lib/Sema/SemaOverload.cpp @@ -3342,7 +3342,7 @@ CompareImplicitConversionSequences(Sema &S, // list-initialization sequence L2 if: // - L1 converts to std::initializer_list 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 -- 2.40.0