Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 11.0.2, Qt Creator 13.0.2
-
None
-
-
dceabc0e0 (14.0)
Description
when I type follower code:
class A { public: A() { printf("A()\n"); } }; class B { public: B(int v) { printf("B()\n"); } }; class R { public: R(): a(), b(1) { printf("R()\n"); } A a; B b; };
The clazy check show the warning as following:
delete the `a()`, the warning disappears.
The reason looks like clazy cannot analysis empty param list of members in Member Initializer List.
Attachments
Issue Links
- mentioned in
-
Page Loading...