diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-04-07 09:33:50 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-04-07 09:33:50 +0200 |
commit | bee90675a701d7267caba40921b4606db5072247 (patch) | |
tree | 14c40930f9e19fde4a8e93e4ea8f2d68280a50a6 /libbuild2/dyndep.cxx | |
parent | 4576f80a09ca247ee89e99a8103cc0c87e20672e (diff) |
Rename {match,execute}() to *_sync(), add *_complete()
In particular, the match() rename makes sure it doesn't clash with
rule::match() which, after removal of the hint argument in simple_rule,
has exactly the same signature, thus making it error-prone to calling
recursively.
Diffstat (limited to 'libbuild2/dyndep.cxx')
-rw-r--r-- | libbuild2/dyndep.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libbuild2/dyndep.cxx b/libbuild2/dyndep.cxx index 47c6396..727a28c 100644 --- a/libbuild2/dyndep.cxx +++ b/libbuild2/dyndep.cxx @@ -30,11 +30,11 @@ namespace build2 bool adhoc, uintptr_t data) { - // Even if failing we still use try_match() in order to issue consistent - // (with other places) diagnostics (rather than the generic "not rule to - // update ..."). + // Even if failing we still use try_match_sync() in order to issue + // consistent (with other places) diagnostics (rather than the generic + // "not rule to update ..."). // - if (!try_match (a, pt).first) + if (!try_match_sync (a, pt).first) { if (!f) return nullopt; @@ -65,7 +65,7 @@ namespace build2 bool adhoc, uintptr_t data) { - if (!try_match (a, pt).first) + if (!try_match_sync (a, pt).first) { if (!f) return nullopt; |