cake
cake copied to clipboard
nodiscard not working
struct parser_ctx{int x;};
enum token_type type {A};
[[nodiscard]]
int parser_match_tk(struct parser_ctx* ctx, enum token_type type)
{
}
void call(void)
{
struct parser_ctx ctx;
parser_match_tk(&ctx, A);
}