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

Function apply_modifiers_impl

src/engine/function.cpp:1167–1185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1165}
1166
1167static VAR_EXPANDED apply_modifiers_impl( LIST * result, string * buf,
1168 VAR_EDITS * edits, int32_t n, LISTITER iter, LISTITER end )
1169{
1170 LIST * modified = iter == end
1171 ? apply_modifiers_empty( result, buf, edits, n )
1172 : apply_modifiers_non_empty( result, buf, edits, n, iter, end );
1173 VAR_EXPANDED expanded;
1174 expanded.value = apply_modifiers_prepost(
1175 L0, buf, edits, n, list_begin( modified ), list_end( modified ) );
1176 expanded.inner = modified;
1177 expanded.opt_file = false;
1178 expanded.opt_content = false;
1179 for ( int32_t i = 0; i < n; ++i )
1180 {
1181 expanded.opt_file |= edits[i].opt_file;
1182 expanded.opt_content |= edits[i].opt_content;
1183 }
1184 return expanded;
1185}
1186
1187static LIST * apply_subscript_and_modifiers( STACK * s, int32_t n )
1188{

Callers 2

apply_modifiersFunction · 0.85

Calls 5

apply_modifiers_emptyFunction · 0.85
apply_modifiers_prepostFunction · 0.85
list_beginFunction · 0.85
list_endFunction · 0.85

Tested by

no test coverage detected