Uninitialized Member Variables: Fixed bug 'false positive on multi constructors'
This commit is contained in:
parent
add2283724
commit
8c9c6529b8
|
@ -388,6 +388,7 @@ void CheckClass::CheckConstructors()
|
|||
var->init = false;
|
||||
|
||||
constructor_token = FindClassFunction( constructor_token->next, classname, classname, indentlevel );
|
||||
callstack.clear();
|
||||
ClassChecking_VarList_Initialize(tok1, constructor_token, varlist, classname, callstack);
|
||||
}
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ private:
|
|||
TEST_CASE( initvar_operator_eq ); // BUG 2190376
|
||||
TEST_CASE( initvar_same_classname ); // BUG 2208157
|
||||
TEST_CASE( initvar_chained_assign ); // BUG 2270433
|
||||
// TODO TEST_CASE( initvar_2constructors ); // BUG 2270353
|
||||
TEST_CASE( initvar_2constructors ); // BUG 2270353
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue