We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55e2dc6 commit 5e1fb41Copy full SHA for 5e1fb41
1 file changed
lib/tokenize.cpp
@@ -3605,6 +3605,9 @@ void Tokenizer::concatenateNegativeNumberAndAnyPositive()
3605
if (!Token::Match(tok, "?|:|,|(|[|{|return|case|sizeof|%op% +|-") || tok->tokType() == Token::eIncDecOp)
3606
continue;
3607
3608
+ if (tok->str() == ">" && tok->findOpeningBracket())
3609
+ continue;
3610
+
3611
while (tok->str() != ">" && tok->next() && tok->strAt(1) == "+" && (!Token::Match(tok->tokAt(2), "%name% (|;") || Token::Match(tok, "%op%")))
3612
tok->deleteNext();
3613
0 commit comments