0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00
bird/filter
Ondrej Zajicek (work) 9b302c133f Filter: Ensure that all expressions declared return type
All instructions with a return value (i.e. expressions, ones with
non-zero outval, third argument in INST()) should declare their return
type. Check that automatically by M4 macros.

Set outval of FI_RETURN to 0. The instruction adds one value to stack,
but syntactically it is a statement, not an expression.

Add fake return type declaration to FI_CALL, otherwise the automatic
check would fail builds.
2022-06-27 21:13:31 +02:00
..
config.Y Filter: Implement type checks for function calls 2022-06-27 21:13:31 +02:00
data.c Filter: Add operators to find minimum and maximum element of sets 2021-12-28 04:07:09 +01:00
data.h Merge branch 'oz-trie-table' 2022-02-06 23:42:10 +01:00
decl.m4 Filter: Ensure that all expressions declared return type 2022-06-27 21:13:31 +02:00
Doc Doc: Rename code documentation files back to Doc 2018-12-14 02:03:42 +01:00
f-inst.c Filter: Ensure that all expressions declared return type 2022-06-27 21:13:31 +02:00
f-inst.h Filter: Implement type checks for function calls 2022-06-27 21:13:31 +02:00
f-util.c Filter: Fix crash with 'where' filters and function calls 2019-09-10 13:45:18 +02:00
filter_test.c Test: Improve filter_test 2019-12-17 00:01:53 +01:00
filter.c Filter: Add support for src/dst accessors for Flowspec and SADR 2019-12-09 04:23:01 +01:00
filter.h Filter: Remove quitbird command 2020-05-02 02:47:18 +02:00
Makefile Filter: Pre-evaluation of constant expressions 2019-07-02 10:45:53 +02:00
test-reconf-begin.conf Filters: comparison of functions and filters caching 2019-02-26 16:44:24 +01:00
test-reconf-end.conf Filters: comparison of functions and filters caching 2019-02-26 16:44:24 +01:00
test.conf Merge branch 'oz-trie-table' 2022-02-06 23:42:10 +01:00
test.conf2 Filter: Remove quitbird command 2020-05-02 02:47:18 +02:00
test.conf.inc filter/test.conf: Replace print func with assert and format 2016-11-16 12:22:01 +01:00
tree_test.c Filter: merged filter instruction constructors, counting line size on instruction construct 2019-02-20 22:30:54 +01:00
tree.c Filter: Recursive filter iteration code 2021-02-07 19:21:42 +01:00
trie_test.c Merge branch 'oz-trie-table' 2022-02-06 23:42:10 +01:00
trie.c Trie: Fix trie format 2022-02-06 23:27:13 +01:00