Commit a2c4dee4 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Place a whitespace between references.

parent 4b8d5971
......@@ -151,6 +151,9 @@ void TypePrettyPrinter::applyPtrOperators(bool wantSpace)
_text += QLatin1Char('*');
} else if (const ReferenceType *ref = op->asReferenceType()) {
if (_text.endsWith(QLatin1Char('&')))
_text += QLatin1Char(' ');
if (ref->isRvalueReference())
_text += QLatin1String("&&");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment