MCPcopy Create free account
hub / github.com/boostorg/build / bindrule

Function bindrule

v2/engine/rules.c:706–718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

704
705
706RULE * bindrule( OBJECT * rulename, module_t * m )
707{
708 RULE * result = lookup_rule( rulename, m, 0 );
709 if ( !result )
710 result = lookup_rule( rulename, root_module(), 0 );
711 /* We have only one caller, 'evaluate_rule', which will complain about
712 * calling an undefined rule. We could issue the error here, but we do not
713 * have the necessary information, such as frame.
714 */
715 if ( !result )
716 result = enter_rule( rulename, m );
717 return result;
718}
719
720
721RULE * import_rule( RULE * source, module_t * m, OBJECT * name )

Callers 10

call_timing_ruleFunction · 0.85
call_action_ruleFunction · 0.85
bjam_callFunction · 0.85
headersFunction · 0.85
call_bind_ruleFunction · 0.85
function_call_ruleFunction · 0.85
type_check_rangeFunction · 0.85
call_ruleFunction · 0.85
sequence_transformFunction · 0.85

Calls 3

lookup_ruleFunction · 0.85
root_moduleFunction · 0.85
enter_ruleFunction · 0.85

Tested by

no test coverage detected