Miscellaneous-MissingDestructorΒΆ
Each class needs an explicitly declared destructor
Required inputs: IR
See Also
Rule GeneralPurpose-RuleOfThree demands a destructor for classes that have explicitly declared copy/move constructors or assignment operators, but does not warn in cases where the compiler-provided destructor suffices.Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
missing_explicit_destructor |
Class does not have an explicitly declared destructor. |
None |
False |
Options
This rule shares the following common options: exclude_in_macros, exclude_messages_in_system_headers, excludes, extend_exclude_to_macro_invocations, includes, justification_checker, languages, post_processing, provider, report_at, severity
The following places define options that affect this rule: Stylechecks, Analysis-GlobalOptions
This rule has no individual options.