Searched refs:PW_LAST_ARG (Results 1 – 2 of 2) sorted by relevance
/external/pigweed/pw_preprocessor/public/pw_preprocessor/ |
D | arguments.h | 113 _PW_FUNCTION_ARG_COUNT(PW_LAST_ARG(__VA_ARGS__), __VA_ARGS__) 123 #define PW_LAST_ARG(...) \ macro 133 PW_EMPTY_ARGS(PW_LAST_ARG(__VA_ARGS__)), PW_DROP_LAST_ARG, _PW_EXPAND) \
|
/external/pigweed/pw_preprocessor/ |
D | arguments_test.cc | 220 static_assert(Value(PW_LAST_ARG(last)) == last); in TEST() 221 static_assert(Value(PW_LAST_ARG(1, last)) == last); in TEST() 222 static_assert(Value(PW_LAST_ARG(1, 2, last)) == last); in TEST() 226 static_assert(Value(PW_LAST_ARG()) == nullptr); in TEST() 227 static_assert(Value(PW_LAST_ARG(1, )) == nullptr); in TEST() 228 static_assert(Value(PW_LAST_ARG(1, 2, )) == nullptr); in TEST() 229 static_assert(Value(PW_LAST_ARG(1, 2, 3, )) == nullptr); in TEST()
|