jansen-tiobe
jansen-tiobe
Now that other alternatives than enums are allowed for rule Enum.1 (see ticket #2054), the synopsis of the rule should be changed accordingly. It should be something like "Prefer enumerations...
The synopsis of rule Enum.2 is "Use enumerations to represent sets of related named constants" and the enforcement of this rule is about flagging switch statements for enumerations that don't...
Allow multiple calls with shared pointers arguments (not being a reference parameter) for rule R.21
I would like to thank Danny Havenith for bringing up this example and suggesting this improvement. Rule R.21 ("Prefer unique_ptr over shared_ptr unless you need to share ownership") has enforcement:...