aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-07-20 10:17:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-07-20 10:17:03 +0200
commitd3ef150c45d9325bc075d33a00c8cf0a6b1bf954 (patch)
tree25ca7cd58d81d8453c6a08f45c0b94ccdfaea03d /libbuild2/target.hxx
parentb61e0de250d522ec9a8e16146ef979a65c181db1 (diff)
Consider unmatched prerequisites in updated_during_match() check
Diffstat (limited to 'libbuild2/target.hxx')
-rw-r--r--libbuild2/target.hxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/libbuild2/target.hxx b/libbuild2/target.hxx
index aa3df7f..79ec9fa 100644
--- a/libbuild2/target.hxx
+++ b/libbuild2/target.hxx
@@ -111,8 +111,15 @@ namespace build2
// prerequisites that are updated during match should have this bit set
// (see dyndep_rule::*_existing_file() for details).
//
- static const uintptr_t include_adhoc = 0x01;
- static const uintptr_t include_udm = 0x02;
+ // target
+ //
+ // The data member contains the target pointer that has been "blanked
+ // out" for some reason (updated during match, unmatched, etc). See
+ // dyndep_rule::updated_during_match() for details.
+ //
+ static const uintptr_t include_adhoc = 0x01;
+ static const uintptr_t include_udm = 0x02;
+ static const uintptr_t include_target = 0x80;
uintptr_t include;