From f8e6ed173b9b77ec7ac1b0d39ae83f29fb9468a9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 8 Jun 2021 15:30:35 +0200 Subject: Redo low verbosity diagnostic deduction to use scope instead of target --- libbuild2/rule.hxx | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'libbuild2/rule.hxx') 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 -- cgit v1.1