Format rules files as well

This commit is contained in:
amai2012 2019-09-26 19:58:39 +02:00
parent 2e1cbbeb14
commit 70059e713a
2 changed files with 7 additions and 6 deletions

View File

@ -1,9 +1,9 @@
<?xml version="1.0"?>
<rule>
<tokenlist>normal</tokenlist>
<pattern><![CDATA[\}\s*catch\s*\(.*\)\s*\{\s*\}]]></pattern>
<message>
<severity>style</severity>
<summary>Empty catch block found.</summary>
</message>
<tokenlist>normal</tokenlist>
<pattern><![CDATA[\}\s*catch\s*\(.*\)\s*\{\s*\}]]></pattern>
<message>
<severity>style</severity>
<summary>Empty catch block found.</summary>
</message>
</rule>

View File

@ -76,3 +76,4 @@ done
formatXML man/cppcheck.1.xml
formatXML cppcheck-errors.rng
formatXML rules/*.xml