|
@@ -1158,7 +1158,9 @@ private:
|
|
|
|
|
|
if (NextToken->is(tok::l_square) && NextToken->isNot(TT_LambdaLSquare))
|
|
|
return TT_PointerOrReference;
|
|
|
- if (NextToken->isOneOf(tok::kw_operator, tok::comma, tok::semi))
|
|
|
+ if (NextToken->is(tok::kw_operator) && !IsExpression)
|
|
|
+ return TT_PointerOrReference;
|
|
|
+ if (NextToken->isOneOf(tok::comma, tok::semi))
|
|
|
return TT_PointerOrReference;
|
|
|
|
|
|
if (PrevToken->is(tok::r_paren) && PrevToken->MatchingParen &&
|