mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-11-26 10:26:09 +03:00
acc39a4bc0
* Api Symbols: replace asserts with checks * Api Symbols: replace asserts with checks part 2 * Update no args function signatures with void, to help compiler to track incorrect usage * More unavoidable void * Update PVS config and code to make it happy * Format sources * nfc: fix checks * dead code cleanup & include fixes Co-authored-by: gornekich <n.gorbadey@gmail.com> Co-authored-by: hedger <hedger@users.noreply.github.com> Co-authored-by: hedger <hedger@nanode.su>
46 lines
976 B
Plaintext
46 lines
976 B
Plaintext
# MLib macros we can't do much about.
|
|
//-V:M_LET:1048,1044
|
|
//-V:M_EACH:1048,1044
|
|
//-V:ARRAY_DEF:760,747,568,776,729,712,654,1103
|
|
//-V:LIST_DEF:760,747,568,712,729,654,776,1103
|
|
//-V:BPTREE_DEF2:779,1086,557,773,512
|
|
//-V:DICT_DEF2:779,524,776,760,1044,1001,729,590,568,747,685,1103
|
|
//-V:ALGO_DEF:1048,747,1044
|
|
//-V:TUPLE_DEF2:524,590,1001,760
|
|
|
|
# Non-severe malloc/null pointer deref warnings
|
|
//-V::522:2,3
|
|
|
|
# Warning about headers with copyleft license
|
|
//-V::1042
|
|
|
|
# Potentially null argument warnings
|
|
//-V:memset:575
|
|
//-V:memcpy:575
|
|
//-V:memcmp:575
|
|
//-V:strlen:575
|
|
//-V:strcpy:575
|
|
//-V:strncpy:575
|
|
//-V:strchr:575
|
|
|
|
# For loop warning on M_FOREACH
|
|
//-V:for:1044
|
|
|
|
# Bitwise OR
|
|
//-V:bit:792
|
|
|
|
# Do not complain about similar code
|
|
//-V::525
|
|
|
|
# Common embedded development pointer operations
|
|
//-V::566
|
|
//-V::1032
|
|
|
|
# Warnings about length mismatch
|
|
//-V:property_value_out:666
|
|
|
|
# Model-related warnings
|
|
//-V:with_view_model:1044,1048
|
|
|
|
# Examples
|
|
//V_EXCLUDE_PATH applications/examples/ |