MCPcopy Create free account
hub / github.com/git/git / grep_binexp

Function grep_binexp

grep.c:583–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

581}
582
583static struct grep_expr *grep_binexp(enum grep_expr_node kind,
584 struct grep_expr *left,
585 struct grep_expr *right)
586{
587 struct grep_expr *z = xcalloc(1, sizeof(*z));
588 z->node = kind;
589 z->u.binary.left = left;
590 z->u.binary.right = right;
591 return z;
592}
593
594static struct grep_expr *grep_or_expr(struct grep_expr *left, struct grep_expr *right)
595{

Callers 2

grep_or_exprFunction · 0.85
grep_and_exprFunction · 0.85

Calls 1

xcallocFunction · 0.85

Tested by

no test coverage detected