summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Sema')
-rw-r--r--clang/lib/Sema/SemaInit.cpp4
-rw-r--r--clang/lib/Sema/SemaOverload.cpp4
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
OpenPOWER on IntegriCloud