aboutsummaryrefslogtreecommitdiff
path: root/build2/target.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/target.hxx')
-rw-r--r--build2/target.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/build2/target.hxx b/build2/target.hxx
index 23213a2..e783ee4 100644
--- a/build2/target.hxx
+++ b/build2/target.hxx
@@ -252,8 +252,8 @@ namespace build2
}
public:
- // You should not call this function directly; rather use
- // resolve_group_members() from <build2/algorithm.hxx>.
+ // Normally you should not call this function directly and rather use
+ // resolve_members() from algorithm.hxx.
//
virtual group_view
group_members (action) const;
@@ -697,6 +697,9 @@ namespace build2
// also be traversed in reverse, but that's what you usually want,
// anyway.
//
+ // Note that you either should be iterating over a locked target (e.g., in
+ // rule's match() or apply()) or you should call resolve_group().
+ //
class group_prerequisites
{
public: