cppcheck/cfg/avr.cfg

56 lines
2.6 KiB
INI
Raw Normal View History

<?xml version="1.0"?>
<!-- Based on http://www.nongnu.org/avr-libc/user-manual/group__avr__stdint.html -->
<def>
<!-- Integer types capable of holding object pointers -->
<podtype name="intptr_t" sign="s" size="2"/>
<podtype name="uintptr_t" sign="u" size="2"/>
<!-- Minimum-width integer types -->
2014-06-17 09:02:04 +02:00
<podtype name="int_least8_t" sign="s" size="1"/>
<podtype name="uint_least8_t" sign="u" size="1"/>
<podtype name="int_least16_t" sign="s" size="2"/>
<podtype name="uint_least16_t" sign="u" size="2"/>
<podtype name="int_least32_t" sign="s" size="4"/>
<podtype name="uint_least32_t" sign="u" size="4"/>
<podtype name="int_least64_t" sign="s" size="8"/>
<podtype name="uint_least64_t" sign="u" size="8"/>
<!-- Greatest-width integer types -->
<podtype name="intmax_t" sign="s" size="8"/>
<podtype name="uintmax_t" sign="u" size="8"/>
<!-- ctype.h -->
<function name="toascii"> <noreturn>false</noreturn> <leak-ignore/> <arg nr="1"><valid>0:255</valid></arg> </function>
<!-- errno.h -->
<define name="EDOM" value="33"/>
<define name="ERANGE" value="34"/>
<!-- inttypes.h -->
<podtype name="int_farptr_t" sign="s" size="4"/>
<podtype name="uint_farptr_t" sign="u" size="4"/>
<!-- FIXME: add macros for printf and scanf format specifiers,e.g. PRId8 -->
<!-- math.h -->
2014-06-18 05:43:44 +02:00
<define name="M_E" value="2.7182818284590452354"/>
<define name="M_LOG2E" value="1.4426950408889634074"/>
<define name="M_LOG10E" value="0.43429448190325182765"/>
<define name="M_LN2" value="0.69314718055994530942"/>
<define name="M_LN10" value="2.30258509299404568402"/>
<define name="M_PI" value="3.14159265358979323846"/>
<define name="M_PI_2" value="1.57079632679489661923"/>
<define name="M_PI_4" value="0.78539816339744830962"/>
<define name="M_1_PI" value="0.31830988618379067154"/>
2014-06-18 11:58:32 +02:00
<define name="M_2_PI" value="0.63661977236758134308"/>
<define name="M_2_SQRTPI" value="1.12837916709551257390"/>
<define name="M_SQRT2" value="1.41421356237309504880"/>
<define name="M_SQRT1_2" value="0.70710678118654752440"/>
2014-06-18 08:31:32 +02:00
<define name="NAN" value="__builtin_nan(\”\”)"/>
<define name="powf" value="pow"/>
<define name="roundf" value="round"/>
<define name="signbitf" value="signbit"/>
<define name="sinf" value="sin"/>
<define name="sinhf" value="sinh"/>
<define name="sqrtf" value="sqrt"/>
<define name="squaref" value="square"/>
<define name="tanf" value="tan"/>
<define name="tanhf" value="tanh"/>
<define name="truncf" value="trunc"/>
<!-- The rest of the trigonometric functions are defined in std.cfg -->
2014-06-18 11:58:32 +02:00
<!-- setjmp.h -->
</def>