File tree 2 files changed +8
-7
lines changed
2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 59
59
<reflection>
60
60
<call arg =" 2" >invokeMethod</call>
61
61
</reflection>
62
- <!-- < define name =" SIGNAL(X)" value =" # X" /> -- >
63
- <!-- < define name =" SLOT(X)" value =" # X" /> -- >
62
+ <define name =" SIGNAL(X)" value =" X" />
63
+ <define name =" SLOT(X)" value =" X" />
64
64
<!-- T qAbs(const T &t) -->
65
65
<function name =" qAbs" >
66
66
<pure/>
Original file line number Diff line number Diff line change @@ -814,16 +814,17 @@ struct DQObject_missingOverride : BQObject_missingOverride {
814
814
};
815
815
816
816
namespace {
817
- class Foo { // #13236
818
- Foo ();
817
+ class TestUnusedFunction { // #13236
818
+ TestUnusedFunction ();
819
819
// cppcheck-suppress functionStatic
820
820
void doStuff ();
821
821
};
822
822
823
- Foo::Foo () {
823
+ TestUnusedFunction::TestUnusedFunction () {
824
+ Computations comp;
824
825
// cppcheck-suppress [checkLibraryFunction, checkLibraryNoReturn]
825
- connect (a , SIGNAL (doStuff ()), this , SLOT (doStuff ()));
826
+ connect (&comp , SIGNAL (doStuff ()), this , SLOT (doStuff ()));
826
827
}
827
828
828
- void Foo ::doStuff () {} // Should not warn here with unusedFunction
829
+ void TestUnusedFunction ::doStuff () {} // Should not warn here with unusedFunction
829
830
}
You can’t perform that action at this time.
0 commit comments