1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

15 Commits

Author SHA1 Message Date
Francisco Molina
acde16465a dist/tools/coccinelle/force: remove static.cocci
The rule is not behaving as it should and flagging all 'static'
variables based only on initialization (if the variable is initialized
before usage), but fails to recognize if 'static' is used to limit
visibility.
2021-11-05 08:45:55 +01:00
Martine Lenders
c6260f29b3
coccinelle: move annotation by offset 2021-03-11 13:32:32 +01:00
Martine Lenders
2465a701ee
coccinelle: fix diff annotation 2021-02-23 18:25:50 +01:00
Martine Lenders
b5a0dd5ab7
dist/tools/coccinelle: annotate errors in Github Action 2021-01-12 14:51:51 +01:00
Bas Stottelaar
0c8df9bb3c dist/coccinelle: adapt rules for ENABLE_DEBUG 2020-11-02 21:49:40 +01:00
c5b2ded055
dist/tools: Use /usr/bin/env bash for bash scripts 2020-10-30 13:13:40 +01:00
96cad82910
dist/tools: Use bash instead of sh where needed
A number of scripts use features from bash such as `local` which are not
in the POSIX spec. This breaks on systems where sh is not symlinked to
bash.

This patch changes the interpreter indicated by the hashbang to bash for
those scripts
2020-10-30 12:12:10 +01:00
Francois Berder
4a31f94cfc many typo fixes
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-11-23 22:39:07 +01:00
Kees Bakker
c1d3128be3 dist/tools: add Coccinelle check for ARRAYSIZE
This Coccinelle script will warn when new code has the potential to use
the macro ARRAYSIZE instead of something like this
     sizeof(some_array) / sizeof(some_array[0])
2019-08-07 21:55:41 +02:00
smlng
1adb5852ec tools: allow static checks to be run from any directory 2018-06-06 14:03:31 +02:00
Gaëtan Harter
ef13d91bed
tools/check: use RIOTTOOLS variable
Follow up to #9067 and part of #8821
2018-05-14 15:47:53 +02:00
e99a834487 dist: tools: coccinelle: add documentation 2017-05-30 21:38:03 +02:00
564448ae96 dist: tools: coccinelle: add enable_debug_false.cocci 2017-05-15 16:36:44 +02:00
a7ad4f0469 dist/tools/coccinelle: add remove_atoi_cast.cocci 2017-05-13 12:37:09 +02:00
9acc5282af dist: tools: introduce coccinelle static testing 2017-05-12 13:17:53 +02:00