Disable valueFlowGlobalConstVar until #9099 is fixed
This commit is contained in:
parent
1d12136b59
commit
66064fb2bb
|
@ -1460,6 +1460,9 @@ static void valueFlowOppositeCondition(SymbolDatabase *symboldatabase, const Set
|
|||
|
||||
static void valueFlowGlobalConstVar(TokenList* tokenList, const Settings *settings)
|
||||
{
|
||||
// TODO: danmar: This is commented out until #9099 is fixed
|
||||
return;
|
||||
|
||||
// Get variable values...
|
||||
std::map<const Variable*, ValueFlow::Value> vars;
|
||||
for (const Token* tok = tokenList->front(); tok; tok = tok->next()) {
|
||||
|
|
|
@ -3174,7 +3174,7 @@ private:
|
|||
"void f() {\n"
|
||||
" a = x;\n"
|
||||
"}";
|
||||
ASSERT_EQUALS(true, testValueOfX(code, 3U, 321));
|
||||
TODO_ASSERT_EQUALS(true, false, testValueOfX(code, 3U, 321));
|
||||
}
|
||||
|
||||
void valueFlowGlobalStaticVar() {
|
||||
|
|
Loading…
Reference in New Issue