Do not add extra space after pointer return value in function signature.

For example, this is correct code:
stub::function<const uint8_t*(uint32_t)> coefficient_vector_data;
This commit is contained in:
Peter Vingelmann 2016-09-29 19:08:19 +02:00
parent e6fcceaaa6
commit 7eb183de85

View File

@ -3576,7 +3576,8 @@ void ASFormatter::formatPointerOrReference(void)
peekedChar = currentLine[nextChar];
}
// check for cast
if (peekedChar == ')' || peekedChar == '>' || peekedChar == ',' || peekedChar == '.')
if (peekedChar == ')' || peekedChar == '>' || peekedChar == ','
|| peekedChar == '.' || peekedChar == '(')
{
formatPointerOrReferenceCast();
return;