aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/adhoc-rule-regex-pattern.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-06-09 16:08:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-06-09 16:08:42 +0200
commitd822a0ae2c9fe312ad7a31e829ce2951be6a3ea0 (patch)
treede570a7e216ff768f87bdf8dea2111ab5b2a6eed /libbuild2/adhoc-rule-regex-pattern.hxx
parentf8e6ed173b9b77ec7ac1b0d39ae83f29fb9468a9 (diff)
Fix cxx pattern rule test
Diffstat (limited to 'libbuild2/adhoc-rule-regex-pattern.hxx')
-rw-r--r--libbuild2/adhoc-rule-regex-pattern.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbuild2/adhoc-rule-regex-pattern.hxx b/libbuild2/adhoc-rule-regex-pattern.hxx
index ed8bf59..4327e72 100644
--- a/libbuild2/adhoc-rule-regex-pattern.hxx
+++ b/libbuild2/adhoc-rule-regex-pattern.hxx
@@ -14,6 +14,10 @@ namespace build2
{
// Ad hoc rule regex pattern.
//
+ // The name signature is stored in match_extra::buffer while the regex
+ // match_results object -- in the target auxiliary data storage. Both must
+ // remain valid until after the apply_*() calls.
+ //
// Note: exported since may be accessed by ad hoc recipe implementation.
//
class LIBBUILD2_SYMEXPORT adhoc_rule_regex_pattern: public adhoc_rule_pattern