diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-06-08 15:30:35 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-06-08 15:43:08 +0200 |
commit | f8e6ed173b9b77ec7ac1b0d39ae83f29fb9468a9 (patch) | |
tree | c8f22a50c6df6070105fda88a7800c2b51332d23 /libbuild2/rule.hxx | |
parent | 5900f155a4a0da88cfd56bedccef0c74cc19c9f7 (diff) |
Redo low verbosity diagnostic deduction to use scope instead of target
Diffstat (limited to 'libbuild2/rule.hxx')
-rw-r--r-- | libbuild2/rule.hxx | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/libbuild2/rule.hxx b/libbuild2/rule.hxx index 67c0f6d..e46c402 100644 --- a/libbuild2/rule.hxx +++ b/libbuild2/rule.hxx @@ -172,18 +172,13 @@ namespace build2 // Set the rule text, handle any recipe-specific attributes, and return // true if the recipe builds anything in the build/recipes/ directory and - // therefore requires cleanup. + // therefore requires cleanup. Scope is the scope of the recipe. // - // Target is not NULL only if this recipe is for a single target. Scope is - // the scope of the recipe (not necessarily the same as the target's base - // scope). - // - // Note that this function is called after the actions member has been - // populated. + // Note also that this function is called after the actions member has + // been populated. // virtual bool - recipe_text (context&, const scope&, const target*, - string&&, attributes&) = 0; + recipe_text (const scope&, string&&, attributes&) = 0; public: // Some of the operations come in compensating pairs, such as update and |