Skip to content

Commit 70059e7

Browse files
committed
Format rules files as well
1 parent 2e1cbbe commit 70059e7

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

rules/empty-catch-block.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0"?>
22
<rule>
3-
<tokenlist>normal</tokenlist>
4-
<pattern><![CDATA[\}\s*catch\s*\(.*\)\s*\{\s*\}]]></pattern>
5-
<message>
6-
<severity>style</severity>
7-
<summary>Empty catch block found.</summary>
8-
</message>
3+
<tokenlist>normal</tokenlist>
4+
<pattern><![CDATA[\}\s*catch\s*\(.*\)\s*\{\s*\}]]></pattern>
5+
<message>
6+
<severity>style</severity>
7+
<summary>Empty catch block found.</summary>
8+
</message>
99
</rule>

runastyle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,4 @@ done
7676

7777
formatXML man/cppcheck.1.xml
7878
formatXML cppcheck-errors.rng
79+
formatXML rules/*.xml

0 commit comments

Comments
 (0)