aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/algorithm.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-10-23 11:02:27 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-10-26 13:29:24 +0200
commit3386bad31f31d5623141297e08cee5de29cd0219 (patch)
tree4802e2f9e927dc7f7d5addda09c4d7e03a3d7257 /libbuild2/algorithm.hxx
parentc9e9432018b57b7f532480415059ff62d7f96a40 (diff)
WIP: reorder options/fail argument in match_*() functions
Diffstat (limited to 'libbuild2/algorithm.hxx')
-rw-r--r--libbuild2/algorithm.hxx30
1 files changed, 15 insertions, 15 deletions
diff --git a/libbuild2/algorithm.hxx b/libbuild2/algorithm.hxx
index 829c5be..5ebbae2 100644
--- a/libbuild2/algorithm.hxx
+++ b/libbuild2/algorithm.hxx
@@ -371,13 +371,13 @@ namespace build2
target_state
match_sync (action, const target&,
- bool fail = true,
- uint64_t options = match_extra::all_options);
+ uint64_t options = match_extra::all_options,
+ bool fail = true);
pair<bool, target_state>
try_match_sync (action, const target&,
- bool fail = true,
- uint64_t options = match_extra::all_options);
+ uint64_t options = match_extra::all_options,
+ bool fail = true);
pair<bool, target_state>
match_sync (action, const target&,
@@ -407,13 +407,13 @@ namespace build2
target_state
match_async (action, const target&,
size_t start_count, atomic_count& task_count,
- bool fail = true,
- uint64_t options = match_extra::all_options);
+ uint64_t options = match_extra::all_options,
+ bool fail = true);
target_state
match_complete (action, const target&,
- bool fail = true,
- uint64_t options = match_extra::all_options);
+ uint64_t options = match_extra::all_options,
+ bool fail = true);
pair<bool, target_state>
match_complete (action, const target&,
@@ -427,13 +427,13 @@ namespace build2
//
target_state
match_direct_sync (action, const target&,
- bool fail = true,
- uint64_t options = match_extra::all_options);
+ uint64_t options = match_extra::all_options,
+ bool fail = true);
target_state
match_direct_complete (action, const target&,
- bool fail = true,
- uint64_t options = match_extra::all_options);
+ uint64_t options = match_extra::all_options,
+ bool fail = true);
// Apply the specified recipe directly and without incrementing the
// dependency counts. The target must be locked.
@@ -464,8 +464,8 @@ namespace build2
recipe
match_delegate (action, target&,
const rule&,
- bool try_match = false,
- uint64_t options = match_extra::all_options);
+ uint64_t options = match_extra::all_options,
+ bool try_match = false);
// Incrementing the dependency counts of the specified target.
//
@@ -496,8 +496,8 @@ namespace build2
target_state
rematch_async (action, const target&,
- uint64_t options,
size_t start_count, atomic_count& task_count,
+ uint64_t options,
bool fail = true);
target_state