Fixed #9090 (Do not simplify standard functions)
This commit is contained in:
parent
4bb06eceeb
commit
7610513c49
|
@ -4465,9 +4465,6 @@ bool Tokenizer::simplifyTokenList1(const char FileName[])
|
|||
// Change initialisation of variable to assignment
|
||||
simplifyInitVar();
|
||||
|
||||
// Convert e.g. atol("0") into 0
|
||||
simplifyMathFunctions();
|
||||
|
||||
simplifyDoublePlusAndDoubleMinus();
|
||||
|
||||
simplifyArrayAccessSyntax();
|
||||
|
@ -4502,6 +4499,9 @@ bool Tokenizer::simplifyTokenList2()
|
|||
tok->clearValueFlow();
|
||||
}
|
||||
|
||||
// Convert e.g. atol("0") into 0
|
||||
simplifyMathFunctions();
|
||||
|
||||
// f(x=g()) => x=g(); f(x)
|
||||
simplifyAssignmentInFunctionCall();
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue