Patrick Pelissier
2ee40339b0
Using emplace to generate init_with for shared_ptr:
...
Equivalent to C++ make_shared)
2023-12-02 13:21:45 +01:00
Patrick Pelissier
b16048a55b
Add test cases for tuple emplace
2023-11-25 13:32:57 +01:00
Patrick Pelissier
1df8bf84fb
Fix oplist definition for tuple.
...
The oplist didn't include as many sub-oplists as the number of variables.
2023-11-25 13:29:48 +01:00
Patrick Pelissier
796f2619e5
Change M_BY_NARGS semantics:
...
simplify suffix by __ # NARGS
instead of __NARGS_ # NARGS
Driver: reduce macro name length.
2023-10-20 00:02:38 +02:00
Patrick Pelissier
5f4303624f
Adding macro M_CHAIN_OBJ
2023-10-14 15:55:59 +02:00
Patrick Pelissier
19e61467d5
Adding tuple generation
...
for analysis of generated code.
2023-10-14 15:31:37 +02:00
Patrick Pelissier
1454bcebe4
Add unique name identifier
...
in order to avoid Wshadow warning
in generated code.
2023-10-14 15:30:57 +02:00
Patrick Pelissier
bf68340106
Add macro M_CHAIN_INIT for support of partially constructed object.
2023-09-09 18:40:32 +02:00
Patrick Pelissier
589abda0c2
Fix bug in list insertion:
...
The output iterator has its previous field incorrect.
2023-08-13 23:27:12 +02:00
Patrick Pelissier
e049b83a9e
Rename M_SUFFIX_FUNCTION_BY_NARGS in M_BY_NARGS
...
and updates suffix with __NARGS_
in order to be more explicit.
2023-07-10 00:58:31 +02:00
Patrick Pelissier
2628536d20
Add +m_string_it_set_ref
2023-06-10 01:50:14 +02:00
Patrick Pelissier
ecfa4a9152
Add new function string_pop_u
...
to pop the last unicode code point
of a string.
2023-06-03 00:59:34 +02:00
Patrick Pelissier
dafe4bcec5
Add basic test for M_DEFAULT_ARGS
...
Print hint to developper in case of incorrect usage
2023-06-03 00:56:13 +02:00
Patrick Pelissier
df4bc0a56c
Remove alloc warning for analyzer:
...
it is not able to track allocations correctly and only give false warnings.
valgraind or memory sanitizer are much more reliable to track memory errors.
2023-05-13 00:52:06 +02:00
Patrick Pelissier
b6046e5e23
Fix new warnings with GCC13
2023-05-13 00:52:06 +02:00
kitterion
6a9ee17eca
Add tests
2023-05-08 23:17:19 +03:00
Patrick Pelissier
6d2900a2bd
Improve coverage of test suite.
2023-04-27 00:04:44 +02:00
Patrick Pelissier
219c62ff5d
Provide a way to alter the standard naming convention for the functions
...
Close #72
2023-04-22 09:33:08 +02:00
Patrick Pelissier
272a326375
Fix warning issue for coverage
2023-04-22 09:23:18 +02:00
Patrick Pelissier
eca79f2c80
Improve coverage of test suite
2023-04-21 22:44:34 +02:00
Patrick Pelissier
acd8671017
Fix test case according to contract.
2023-04-19 22:37:54 +02:00
Patrick Pelissier
8639fdbd98
Fix issue in tree_remove when it is root node (part 1)
2023-04-18 22:56:56 +02:00
Patrick Pelissier
693b09387f
Improve coverage of test suite.
2023-04-18 22:19:41 +02:00
Patrick Pelissier
58a7a7c214
Add gene TRY
2023-04-16 19:15:54 +02:00
Patrick Pelissier
d9c3724cff
Compatiblity with C++
2023-04-15 23:18:45 +02:00
Patrick Pelissier
1ff9848384
Update test so that it tests also the case of throwing without any try section (override M_RAISE_FATAL)
2023-04-15 22:51:57 +02:00
Patrick Pelissier
ad023bb09d
Improve coverage of the test suite
2023-04-13 23:27:01 +02:00
Patrick Pelissier
1322afc4c9
Improve coverage of test suite
2023-04-11 21:53:14 +02:00
Patrick Pelissier
0f885fb158
Fix coverage source for m-core
2023-04-11 21:32:57 +02:00
Patrick Pelissier
6bcd51f10f
Complete coverage synthesis
...
with branch coverage information
2023-04-11 21:09:40 +02:00
Patrick Pelissier
ce6cc080d6
Improve coverage of test suite
2023-04-10 23:09:18 +02:00
Patrick Pelissier
4ea83e129e
Improve coverage of test suite
2023-04-08 00:17:33 +02:00
Patrick Pelissier
ccaa54d2a5
Improve coverage of the tet suite
2023-04-06 21:55:21 +02:00
Patrick Pelissier
f858aa2cb5
Improve coverage of the test suite.
2023-04-05 23:07:52 +02:00
Patrick Pelissier
9d77448a25
Reduce optimization level to 0
...
Otherwise the coverage results are not reliable:
* some uncovered lines are not reported as uncovered
* some covered lines are reported as uncovered (!)
2023-04-05 23:04:22 +02:00
Patrick Pelissier
352d7cf725
Improve coverage of the test suite
2023-04-05 22:22:49 +02:00
Patrick Pelissier
a6993ab758
Overload assert in coverage mode
...
to avoid polluting the report with untaken branch by the assert macro.
2023-04-05 22:22:01 +02:00
Patrick Pelissier
e4afb024b9
Improve coverage of test suite
2023-04-05 00:38:44 +02:00
Patrick Pelissier
9354e9717d
Remove unused test function
2023-04-04 01:06:32 +02:00
Patrick Pelissier
100c0f22fe
Improve test coverage
2023-04-04 00:48:03 +02:00
Patrick Pelissier
ff778528f8
Improve coverage of the test suite
2023-04-04 00:22:49 +02:00
Patrick Pelissier
8f1a1df617
Improve coverage of test suite
2023-04-03 16:38:54 +02:00
Patrick Pelissier
fe3b703d0a
Don't expand isspace for coverage tests
2023-04-03 14:09:07 +02:00
Patrick Pelissier
67832ac918
Add more tests case for IO parsing
2023-04-03 13:18:28 +02:00
Patrick Pelissier
ebab05a789
Improve coverage of test suite
2023-04-03 12:36:35 +02:00
Patrick Pelissier
727df5b7bf
Fix coverage
2023-04-03 00:36:18 +02:00
Patrick Pelissier
aebe1308fc
Improve coverage computation
2023-04-03 00:23:05 +02:00
Patrick Pelissier
7534aa0d61
Add internal M_UNLIKELY_NOMEM to help coverage computation
2023-04-03 00:05:29 +02:00
Patrick Pelissier
6976d4e23d
Remove (broken) auto check of coverage
2023-04-02 23:02:48 +02:00
Patrick Pelissier
6b7954e141
Fix coverage for new files
2023-04-02 22:52:40 +02:00