From 50de0d1dbdccf95722e229dd1728a00ee661412b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 8 Feb 2022 14:33:12 +0200 Subject: Improve comments --- libbuild2/cc/link-rule.cxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libbuild2/cc/link-rule.cxx b/libbuild2/cc/link-rule.cxx index 551b243..34fd910 100644 --- a/libbuild2/cc/link-rule.cxx +++ b/libbuild2/cc/link-rule.cxx @@ -912,14 +912,16 @@ namespace build2 pts.push_back (prerequisite_target (nullptr, pi)); const target*& pt (pts.back ()); - if (pi != include_type::normal) // Skip excluded and ad hoc. + // Skip excluded and ad hoc on this pass. + // + if (pi != include_type::normal) continue; // Mark: // 0 - lib // 1 - src // 2 - mod - // 3 - obj/bmi and also lib not to be cleaned + // 3 - obj/bmi and also lib not to be cleaned (and other stuff) // uint8_t m (0); @@ -1069,7 +1071,8 @@ namespace build2 { // @@ Temporary hack until we get the default outer operation // for update. This allows operations like test and install to - // skip such tacked on stuff. + // skip such tacked on stuff. @@ This doesn't feel temporary + // anymore... // // Note that ad hoc inputs have to be explicitly marked with the // include=adhoc prerequisite-specific variable. -- cgit v1.1