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"?> <?xml version="1.0"?>
<rule> <rule>
<tokenlist>normal</tokenlist> <tokenlist>normal</tokenlist>
<pattern><![CDATA[\}\s*catch\s*\(.*\)\s*\{\s*\}]]></pattern> <pattern><![CDATA[\}\s*catch\s*\(.*\)\s*\{\s*\}]]></pattern>
<message> <message>
<severity>style</severity> <severity>style</severity>
<summary>Empty catch block found.</summary> <summary>Empty catch block found.</summary>
</message> </message>
</rule> </rule>

View File

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