Qt-MutableContainerKey¶
Do not use container keys that might be modified externally
Required inputs: IR
This rule is based on clazy rule mutable-container-key
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
mutable_container_key |
{} container key of type “{}” might be modified externally. |
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
associate_container_types¶
associate_container_types : set[bauhaus.analysis.config.QualifiedName] = {'QHash', 'QMap'}
level¶
level : int = 0
modifiable_key_types¶
modifiable_key_types : set[bauhaus.analysis.config.QualifiedName] = {'QPersistentModelIndex', 'QPointer', 'QWeakPointer', 'std::weak_ptr'}