File tree Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -1410,20 +1410,14 @@ static void skipToMatch (const char *const pair)
14101410 }
14111411 else if (c == end )
14121412 {
1413- // watch out for '>>' in template arguments
1413+ // don't care if you find a '>>' (the important thing is closing the brackets)
14141414 int x = cppGetc ();
1415- if (c == '>' && x == '>' ) {
1416- // we've found a >> - do nothing except record the signature
1417- if (CollectingSignature )
1418- vStringPut (Signature , x );
1419- } else {
1420- cppUngetc (x );
1421- -- matchLevel ;
1422- if (braceFormatting && getDirectiveNestLevel () != initialLevel )
1423- {
1424- skipToFormattedBraceMatch ();
1425- break ;
1426- }
1415+ cppUngetc (x );
1416+ -- matchLevel ;
1417+ if (braceFormatting && getDirectiveNestLevel () != initialLevel )
1418+ {
1419+ skipToFormattedBraceMatch ();
1420+ break ;
14271421 }
14281422 }
14291423 /* early out if matching "<>" and we encounter a ";" or "{" to mitigate
You can’t perform that action at this time.
0 commit comments