Tokenizer: Cleanup the Tokenizer::tokenizeCondition used by the preprocessor

This commit is contained in:
Daniel Marjamäki 2015-11-23 16:53:30 +01:00
parent a5149d68ab
commit 5135bae777
1 changed files with 0 additions and 6 deletions

View File

@ -1799,9 +1799,6 @@ bool Tokenizer::tokenizeCondition(const std::string &code)
// replace 'NULL' and similar '0'-defined macros with '0'
simplifyNull();
// replace 'sin(0)' to '0' and other similar math expressions
simplifyMathExpressions();
// combine "- %num%"
concatenateNegativeNumberAndAnyPositive();
@ -1824,9 +1821,6 @@ bool Tokenizer::tokenizeCondition(const std::string &code)
simplifyCAlternativeTokens();
// Convert e.g. atol("0") into 0
simplifyMathFunctions();
simplifyDoublePlusAndDoubleMinus();
return true;