Run more tests on full token list (#2020)

Since all checks are run on the full token list and not the simplified
one, run the tests on the full token list as well.
This commit is contained in:
Rikard Falkeborn 2019-07-22 10:26:55 +02:00 committed by Daniel Marjamäki
parent 2915376c4f
commit 06337cedf5
4 changed files with 0 additions and 6 deletions

View File

@ -41,7 +41,6 @@ private:
Tokenizer tokenizer(&settings, this);
std::istringstream istr(code);
tokenizer.tokenize(istr, "test.cpp");
tokenizer.simplifyTokenList2();
// Check class constructors..
CheckClass checkClass(&tokenizer, &settings, this);

View File

@ -1853,7 +1853,6 @@ private:
Tokenizer tokenizer(&settings1, this);
std::istringstream istr(code);
tokenizer.tokenize(istr, filename);
tokenizer.simplifyTokenList2();
// force symbol database creation
tokenizer.createSymbolDatabase();

View File

@ -3933,7 +3933,6 @@ private:
Tokenizer tokenizer(&settings, this);
std::istringstream istr(code);
tokenizer.tokenize(istr, "test.cpp");
tokenizer.simplifyTokenList2();
// Check code..
CheckUninitVar check(&tokenizer, &settings, this);
@ -3952,8 +3951,6 @@ private:
std::istringstream istr(code);
tokenizer.tokenize(istr, "test.cpp");
tokenizer.simplifyTokenList2();
// Check for redundant code..
CheckUninitVar checkuninitvar(&tokenizer, &settings, this);
checkuninitvar.valueFlowUninit();

View File

@ -105,7 +105,6 @@ private:
Tokenizer tokenizer(&settings, this);
tokenizer.createTokens(&tokens2);
tokenizer.simplifyTokens1("");
tokenizer.simplifyTokenList2();
// Check for unused private functions..
CheckClass checkClass(&tokenizer, &settings, this);