Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Commit

Permalink
Profiler: folder fix - more special cases for operator<< and operator>>
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-kirienko authored and LorenzMeier committed Jan 21, 2015
1 parent 569c3b7 commit 885077a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Debug/poor-mans-profiler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 885077a

Please sign in to comment.