Browse Source

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

sbg
Pavel Kirienko 10 years ago committed by Lorenz Meier
parent
commit
885077a1c3
  1. 4
      Debug/poor-mans-profiler.sh

4
Debug/poor-mans-profiler.sh

@ -144,9 +144,9 @@ def split_first_part_with_parens(line):
if ch == '\\': if ch == '\\':
continue continue
# special cases # 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 braces['<>'] += 1
if out.endswith('operator<'): if out.endswith('operator<') or out.endswith('operator<<'):
braces['<>'] -= 1 braces['<>'] -= 1
# switching quotes # switching quotes
if ch in QUOTES: if ch in QUOTES:

Loading…
Cancel
Save