MCPcopy Create free account
hub / github.com/coolsnowwolf/lede / __expr_eliminate_eq

Function __expr_eliminate_eq

scripts/config/expr.c:150–190  ·  view source on GitHub ↗

* expr_eliminate_eq() helper. * * Walks the two expression trees given in 'ep1' and 'ep2'. Any node that does * not have type 'type' (E_OR/E_AND) is considered a leaf, and is compared * against all other leaves. Two equal leaves are both replaced with either 'y' * or 'n' as appropriate for 'type', to be eliminated later. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

expr_eliminate_eqFunction · 0.85

Calls 3

expr_eqFunction · 0.85
expr_freeFunction · 0.85
expr_alloc_symbolFunction · 0.85

Tested by

no test coverage detected