Home
last modified time | relevance | path

Searched refs:PW_DROP_LAST_ARG_IF_EMPTY (Results 1 – 2 of 2) sorted by relevance

/external/pigweed/pw_preprocessor/public/pw_preprocessor/
Darguments.h57 (PW_DROP_LAST_ARG_IF_EMPTY(__VA_ARGS__))
78 PW_DROP_LAST_ARG_IF_EMPTY(__VA_ARGS__))
131 #define PW_DROP_LAST_ARG_IF_EMPTY(...) \ macro
/external/pigweed/pw_preprocessor/
Darguments_test.cc246 static_assert(FunctionArgCount(PW_DROP_LAST_ARG_IF_EMPTY(1)) == 1); in TEST()
247 static_assert(FunctionArgCount(PW_DROP_LAST_ARG_IF_EMPTY(1, 2)) == 2); in TEST()
248 static_assert(FunctionArgCount(PW_DROP_LAST_ARG_IF_EMPTY(1, 2, 3)) == 3); in TEST()
252 static_assert(FunctionArgCount(PW_DROP_LAST_ARG_IF_EMPTY()) == 0); in TEST()
253 static_assert(FunctionArgCount(PW_DROP_LAST_ARG_IF_EMPTY(1, )) == 1); in TEST()
254 static_assert(FunctionArgCount(PW_DROP_LAST_ARG_IF_EMPTY(1, 2, )) == 2); in TEST()
255 static_assert(FunctionArgCount(PW_DROP_LAST_ARG_IF_EMPTY(1, 2, 3, )) == 3); in TEST()