From 9aa99bc4e62909c119df72bda26b091245d48274 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 8 Feb 2017 09:39:16 +0200 Subject: Do some naming cleanups --- build2/algorithm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'build2/algorithm') diff --git a/build2/algorithm b/build2/algorithm index 2243c47..e9098bd 100644 --- a/build2/algorithm +++ b/build2/algorithm @@ -190,13 +190,18 @@ namespace build2 // Note that this function can be used as a recipe. // target_state - execute_prerequisites (action, const target&); + straight_execute_prerequisites (action, const target&); // As above but iterates over the prerequisites in reverse. // target_state reverse_execute_prerequisites (action, const target&); + // Call straight or reverse depending on the current mode. + // + target_state + execute_prerequisites (action, const target&); + // A version of the above that also determines whether the action needs to // be executed on the target based on the passed timestamp and filter. // @@ -214,7 +219,7 @@ namespace build2 // recursively linking liba{} prerequisites). // // Note that because we use mtime, this function should normally only be - // used in the perform_update action. + // used in the perform_update action (which is straight). // using prerequisite_filter = function; -- cgit v1.1