Qt-QEnums¶
Warns when Q_ENUM could be used instead of Q_ENUMS. Also warns when Q_ENUM is not used properly
Required inputs: IR
This rule is based on clazy rule qenums
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
bad_qenum_other_class |
Q_ENUM does not support enum {} imported from an other class. |
None |
False |
use_qenum |
Do not use Q_ENUMS({}). Use Q_ENUM({}) instead. |
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
level¶
level : int = 0