loplugin singlevalfields, need to check default constructor code too
Change-Id: Idcc8de6f1d403a57c59e84774bd7a97e2f3fc224
This commit is contained in:
@@ -90,6 +90,8 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool shouldVisitTemplateInstantiations () const { return true; }
|
bool shouldVisitTemplateInstantiations () const { return true; }
|
||||||
|
// to catch compiler-generated constructors
|
||||||
|
bool shouldVisitImplicitCode() const { return true; }
|
||||||
|
|
||||||
bool VisitFieldDecl( const FieldDecl* );
|
bool VisitFieldDecl( const FieldDecl* );
|
||||||
bool VisitMemberExpr( const MemberExpr* );
|
bool VisitMemberExpr( const MemberExpr* );
|
||||||
|
Reference in New Issue
Block a user