Permalink
Browse files

Profiler: folder fix - more special cases for operator<< and operator>>

  • Loading branch information...
1 parent 569c3b7 commit 885077a1c3cfa9980001e8dce76615e1f7552788 @pavel-kirienko pavel-kirienko committed with LorenzMeier Jan 17, 2015
Showing with 2 additions and 2 deletions.
  1. +2 −2 Debug/poor-mans-profiler.sh
@@ -144,9 +144,9 @@ def split_first_part_with_parens(line):
if ch == '\\':
continue
# special cases
- if out.endswith('operator>') or out.endswith('operator->'): # gotta love c++
+ if out.endswith('operator>') or out.endswith('operator>>') or out.endswith('operator->'): # gotta love c++
braces['<>'] += 1
- if out.endswith('operator<'):
+ if out.endswith('operator<') or out.endswith('operator<<'):
braces['<>'] -= 1
# switching quotes
if ch in QUOTES:

0 comments on commit 885077a

Please sign in to comment.