File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ class TestClass : public TestFixture {
6262 TEST_CASE (copyConstructor4); // base class with private constructor
6363 TEST_CASE (copyConstructor5); // multiple inheritance
6464 TEST_CASE (copyConstructor6); // array of pointers
65- TEST_CASE (copyConstructor7);
65+ TEST_CASE (copyConstructor7); // ticket #14954
6666 TEST_CASE (copyConstructor8);
6767 TEST_CASE (deletedMemberPointer); // deleted member pointer in destructor
6868 TEST_CASE (noOperatorEq); // class with memory management should have operator eq
@@ -1096,7 +1096,7 @@ class TestClass : public TestFixture {
10961096 errout_str ());
10971097 }
10981098
1099- void copyConstructor7 () {
1099+ void copyConstructor7 () { // ticket #14954
11001100 checkCopyConstructor (" struct S {\n "
11011101 " explicit S(char *name) { m_fd = mkstemp(name); }\n "
11021102 " ~S() { /* close(m_fd); */ }\n "
Original file line number Diff line number Diff line change @@ -533,7 +533,7 @@ class TestMemleakInClass : public TestFixture {
533533 TEST_CASE (class25); // ticket #4367 - false positive implementation for destructor is not seen
534534 TEST_CASE (class26); // ticket #10789
535535 TEST_CASE (class27); // ticket #8126
536- TEST_CASE (class28);
536+ TEST_CASE (class28); // ticket #14954
537537
538538 TEST_CASE (staticvar);
539539
@@ -1485,7 +1485,7 @@ class TestMemleakInClass : public TestFixture {
14851485 ASSERT_EQUALS (" [test.cpp:6:11]: (style) Class 'S' is unsafe, 'S::a' can leak by wrong usage. [unsafeClassCanLeak]\n " , errout_str ());
14861486 }
14871487
1488- void class28 () {
1488+ void class28 () { // ticket #14954
14891489 check (" struct S {\n "
14901490 " explicit S(char *name) { m_fd = mkstemp(name); }\n "
14911491 " ~S() { /* close(m_fd); */ }\n "
You can’t perform that action at this time.
0 commit comments