cppcheck/cfg/wxwidgets.cfg

79 lines
3.2 KiB
INI

<?xml version="1.0"?>
<def format="2">
<!-- http://docs.wxwidgets.org/trunk/group__group__funcmacro__string.html#ga437ea6ba615b75dac8603e96ec864160 -->
<!-- #define wxT (string) -->
<define name="wxT" value=""/>
<!-- http://docs.wxwidgets.org/trunk/classwx_string.html#addd9ccfa3ae2b7ab2d66bcbf034d0be0 -->
<!-- static wxString wxString::Format(const wxString & format, ...) -->
<function name="wxString::Format">
<noreturn>false</noreturn>
<leak-ignore/>
<formatstr/>
<arg nr="1">
<formatstr/>
<not-uninit/>
</arg>
</function>
<!-- http://docs.wxwidgets.org/trunk/classwx_string.html#ace32756bab999f8aae9be0cf981fc449 -->
<!-- bool wxString::IsEmpty() -->
<function name="wxString::IsEmpty">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="bool"/>
<use-retval/>
</function>
<!-- http://docs.wxwidgets.org/trunk/classwx_string.html#ace32756bab999f8aae9be0cf981fc449 -->
<!-- bool wxString::IsNull() -->
<function name="wxString::IsNull">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="bool"/>
<use-retval/>
</function>
<!-- http://docs.wxwidgets.org/trunk/classwx_string.html#ace32756bab999f8aae9be0cf981fc449 -->
<!-- bool wxString::IsNumber() -->
<function name="wxString::IsNumber">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="bool"/>
<use-retval/>
</function>
<!-- http://docs.wxwidgets.org/trunk/classwx_string.html#ace32756bab999f8aae9be0cf981fc449 -->
<!-- bool wxString::IsAscii() -->
<function name="wxString::IsAscii">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="bool"/>
<use-retval/>
</function>
<!-- http://docs.wxwidgets.org/trunk/classwx_string.html#ace32756bab999f8aae9be0cf981fc449 -->
<!-- bool wxString::IsWord() -->
<function name="wxString::IsWord">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="bool"/>
<use-retval/>
</function>
<!-- Override macros which don't necessarily require semicolons at the end -->
<define name="DECLARE_CLASS(n)" value=""/>
<define name="DECLARE_DYNAMIC_CLASS(n)" value=""/>
<define name="DECLARE_ABSTRACT_CLASS(n)" value=""/>
<define name="IMPLEMENT_DYNAMIC_CLASS(n,b)" value=""/>
<define name="IMPLEMENT_ABSTRACT_CLASS(n,b)" value=""/>
<define name="DECLARE_EVENT_TYPE(name, value)" value=""/>
<define name="DECLARE_LOCAL_EVENT_TYPE(name, value)" value=""/>
<define name="DEFINE_EVENT_TYPE(name)" value=""/>
<define name="DEFINE_LOCAL_EVENT_TYPE(name)" value=""/>
<define name="DECLARE_EVENT_TABLE()" value=""/>
<define name="wxDECLARE_EVENT( name, type )" value=""/>
<define name="wxDECLARE_NO_COPY_CLASS(classname)" value=""/>
<define name="wxDEFINE_EVENT( name, type )" value=""/>
<!-- Override begin/end macros slightly differently -->
<!-- In order to avoid overriding all the possible event types we just replace with a semicolon -->
<!-- We could turn these into multi-line comments, but that wouldn't work if there was one inside the begin/end -->
<define name="BEGIN_EVENT_TABLE(a,b)" value=";"/>
<define name="END_EVENT_TABLE()" value=";"/>
<define name="wxBEGIN_EVENT_TABLE(a,b)" value=";"/>
<define name="wxEND_EVENT_TABLE()" value=";"/>
</def>