diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-02-25 11:02:00 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-02-25 11:02:00 +0000 |
| commit | b01d86b3159a571158781d631bea5eda25d1868f (patch) | |
| tree | 038c27532b41eac7ee07b14542e40e1d12a9a8ec /clang/lib | |
| parent | 073f2b4795aae459df548abf03aaa57bb627f194 (diff) | |
| download | bcm5719-llvm-b01d86b3159a571158781d631bea5eda25d1868f.tar.gz bcm5719-llvm-b01d86b3159a571158781d631bea5eda25d1868f.zip | |
Fix UTF8 chars to ASCII.
llvm-svn: 230479
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Sema/SemaInit.cpp | 4 | ||||
| -rw-r--r-- | clang/lib/Sema/SemaOverload.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/Sema/SemaInit.cpp b/clang/lib/Sema/SemaInit.cpp index 9eb7700e9ea..4a6531e5069 100644 --- a/clang/lib/Sema/SemaInit.cpp +++ b/clang/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/clang/lib/Sema/SemaOverload.cpp b/clang/lib/Sema/SemaOverload.cpp index 0728f783aad..65ee2f59472 100644 --- a/clang/lib/Sema/SemaOverload.cpp +++ b/clang/lib/Sema/SemaOverload.cpp @@ -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 |

