fish-shell/build_tools/cppcheck.rules

27 lines
792 B
Text
Raw Normal View History

<?xml version="1.0"?>
2016-11-12 04:48:34 +00:00
2016-11-30 10:14:54 +00:00
<![CDATA[
2016-11-12 04:48:34 +00:00
<!-- 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>
2016-11-12 04:48:34 +00:00
<--!>
2016-11-30 10:14:54 +00:00
]]>