run astyle

This commit is contained in:
Robert Reif 2011-06-22 20:30:41 -04:00
parent 88f31403d7
commit f05ff9b4dc
1 changed files with 4 additions and 2 deletions

View File

@ -39,7 +39,8 @@ void BenchmarkSimple::tokenize()
// tokenize.. // tokenize..
Tokenizer tokenizer(&settings, this); Tokenizer tokenizer(&settings, this);
std::istringstream istr(data.constData()); std::istringstream istr(data.constData());
QBENCHMARK { QBENCHMARK
{
tokenizer.tokenize(istr, "test.cpp"); tokenizer.tokenize(istr, "test.cpp");
} }
} }
@ -56,7 +57,8 @@ void BenchmarkSimple::simplify()
Tokenizer tokenizer(&settings, this); Tokenizer tokenizer(&settings, this);
std::istringstream istr(data.constData()); std::istringstream istr(data.constData());
tokenizer.tokenize(istr, "test.cpp"); tokenizer.tokenize(istr, "test.cpp");
QBENCHMARK { QBENCHMARK
{
tokenizer.simplifyTokenList(); tokenizer.simplifyTokenList();
} }
} }