cppcheck: Move config files to build_tools

It's weird having them in the parent directory.

Move them to build_tools/ and make them visible.

[ci skip]
This commit is contained in:
Fabian Homborg
2020-11-15 11:11:55 +01:00
parent cb8ffb00d6
commit 9b3bfb63d3
3 changed files with 4 additions and 1 deletions

View File

@@ -0,0 +1,26 @@
<?xml version="1.0"?>
<![CDATA[
<!-- Sadly we can't enable the following two rules since doing so causes false
positives in standard header files rather than just project specific
source files. If we can find a way to enable these rules by also
excluding system include files we should do so.
<rule version="1">
<pattern> wcwidth \(</pattern>
<message>
<id>wcwidthForbidden</id>
<severity>warning</severity>
<summary>Always use fish_wcwidth rather than wcwidth.</summary>
</message>
</rule>
<rule version="1">
<pattern> wcswidth \(</pattern>
<message>
<id>wcswidthForbidden</id>
<severity>warning</severity>
<summary>Always use fish_wcswidth rather than wcswidth.</summary>
</message>
</rule>
<--!>
]]>