2017-07-28 15:20:43 +02:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<rule version="1">
|
|
|
|
<tokenlist>raw</tokenlist> <!-- playground: https://regex101.com/r/vGfGSA/1 -->
|
|
|
|
<pattern><![CDATA[(\b\w+\b) \* (\b\w+\b) = 0 ;]]></pattern>
|
|
|
|
<message>
|
|
|
|
<id>modernizeUseNullPtr</id>
|
|
|
|
<severity>style</severity>
|
2018-04-19 22:33:14 +02:00
|
|
|
<summary>Prefer to use a 'nullptr' instead of initializing a pointer with 0.</summary>
|
2017-07-28 15:20:43 +02:00
|
|
|
</message>
|
|
|
|
</rule>
|