- Add PW_LAST_ARG, PW_DROP_LAST_ARG, and PW_DROP_LAST_ARG_IF_EMPTY.
- Reimplement PW_COMMA_ARGS and PW_DELEGATE_BY_ARG_COUNT in terms of
these new macros. This makes macros built with these more robust.
- Add a test for PW_COMMA_ARGS that demonstrates why it should not be
used when invoking a function-like macro.
Change-Id: I862f70623d53fdd7eee1440f91161981e12ce892
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/16283
Reviewed-by: Keir Mierle <keir@google.com>
Commit-Queue: Keir Mierle <keir@google.com>
* Split pw_assert targets as in pwrev/9000.
* Add many missing dependencies (mostly on //pw_unit_test)
* Added visibility and licenses to pw_minimal_cpp_stdlib/BUILD
* Used explicit template params in pw_result/result_test.cc
* Added missing #include of pw_kvs/pw_kvs_private/macros.h
Change-Id: I9bdc875b585e47792ca926f7c75cfe055b02fa48
Bug: 101
Instead of having a global list of -I include paths, have each library
provide a -I for the public/ directory using the includes argument.
Change-Id: I2e321752906920cd94beaaab97b8796af85078e4