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

Function expr_eliminate_eq

scripts/config/expr.c:221–241  ·  view source on GitHub ↗

* Rewrites the expressions 'ep1' and 'ep2' to remove operands common to both. * Example reductions: * * ep1: A && B -> ep1: y * ep2: A && B && C -> ep2: C * * ep1: A || B -> ep1: n * ep2: A || B || C -> ep2: C * * ep1: A && (B && FOO) -> ep1: FOO * ep2: (BAR && B) && A -> ep2: BAR * * ep1: A && (B || C) -> ep1: y * ep2: (C || B) && A -> ep

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

expr_eqFunction · 0.85
menu_finalizeFunction · 0.85

Calls 2

__expr_eliminate_eqFunction · 0.85
expr_eliminate_ynFunction · 0.85

Tested by

no test coverage detected