summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppcodeformatter.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@digia.com>2014-01-17 16:04:14 +0100
committerTobias Hunger <tobias.hunger@digia.com>2014-01-20 11:15:19 +0100
commit671d2d729e57882bc35037556ef1496326fdbd2c (patch)
treed0dcc8143572f6fceacd42462e60493c9a4fc085 /src/plugins/cpptools/cppcodeformatter.cpp
parent7168dd48fe3aed7896a699b0375a9ccdbdb06029 (diff)
downloadqt-creator-671d2d729e57882bc35037556ef1496326fdbd2c.tar.gz
AnsiEscapeHandler: Avoid some iterations over the string
Find the first escape sequence by iterating over the string once and reuse that value during the complete initialization. Change-Id: I6a4dd3bb4da97923410a99dbb03210ffdc6ae27f Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cppcodeformatter.cpp')
0 files changed, 0 insertions, 0 deletions