-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resource Leak Checker: warn of @MustCall
on class declaration
#5181
Comments
Do you think it would be better for |
As I recall, we needed I propose that |
@kelloggm that sounds good to me. |
Usually, writing
@MustCall
on a class declaration is the wrong thing. Instead, one should write@InheritableMustCall
. However, it is an easy error to make.I suggest that writing
@MustCall
on a class declaration should result in a warning or errror, but one that can be suppressed.The text was updated successfully, but these errors were encountered: