From b01d86b3159a571158781d631bea5eda25d1868f 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. llvm-svn: 230479 --- clang/lib/Sema/SemaInit.cpp | 4 ++-- clang/lib/Sema/SemaOverload.cpp | 4 ++-- llvm/lib/MC/ELFObjectWriter.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/clang/lib/Sema/SemaInit.cpp b/clang/lib/Sema/SemaInit.cpp index 9eb7700..4a6531e 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 0728f78..65ee2f5 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 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 diff --git a/llvm/lib/MC/ELFObjectWriter.cpp b/llvm/lib/MC/ELFObjectWriter.cpp index b4948e6..4819905 100644 --- a/llvm/lib/MC/ELFObjectWriter.cpp +++ b/llvm/lib/MC/ELFObjectWriter.cpp @@ -1041,7 +1041,7 @@ ELFObjectWriter::computeSymbolTable(MCAssembler &Asm, const MCAsmLayout &Layout, // in defined ones. // // FIXME: All name handling should be done before we get to the writer, - // including dealing with GNU-style version suffixes. Fixing this isn’t + // including dealing with GNU-style version suffixes. Fixing this isn't // trivial. // // We thus have to be careful to not perform the symbol version replacement -- 2.7.4