Skip to content

Extract this magic number 'nullptr' into a constant, variable declaration or an enum. #986

@tomikais

Description

@tomikais

'nullptr' is detected as a magic number (Magic number should not be used).

It is possible to add 'nullptr' to the rule exception list to fix it. But I think it's better to fix the rule detection directly in the Cxx plugin!?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions