summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaCoroutine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Sema/SemaCoroutine.cpp')
-rw-r--r--clang/lib/Sema/SemaCoroutine.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/Sema/SemaCoroutine.cpp b/clang/lib/Sema/SemaCoroutine.cpp
index 05bf5319a50..71b74acc068 100644
--- a/clang/lib/Sema/SemaCoroutine.cpp
+++ b/clang/lib/Sema/SemaCoroutine.cpp
@@ -87,10 +87,10 @@ static QualType lookupPromiseType(Sema &S, const FunctionDecl *FD,
// [over.match.funcs]4
// For non-static member functions, the type of the implicit object
// parameter is
- // — “lvalue reference to cv X” for functions declared without a
- // ref-qualifier or with the & ref-qualifier
- // — “rvalue reference to cv X” for functions declared with the &&
- // ref-qualifier
+ // -- "lvalue reference to cv X" for functions declared without a
+ // ref-qualifier or with the & ref-qualifier
+ // -- "rvalue reference to cv X" for functions declared with the &&
+ // ref-qualifier
QualType T =
MD->getThisType(S.Context)->getAs<PointerType>()->getPointeeType();
T = FnType->getRefQualifier() == RQ_RValue
OpenPOWER on IntegriCloud