diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-02-08 14:33:12 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-02-09 10:19:46 +0200 |
commit | 50de0d1dbdccf95722e229dd1728a00ee661412b (patch) | |
tree | d805575808b2b4be5a4948237951d933f6bba2bc /libbuild2/cc/link-rule.cxx | |
parent | 9689e2bafcf9af511df1f357aa3f6ec8545d0010 (diff) |
Improve comments
Diffstat (limited to 'libbuild2/cc/link-rule.cxx')
-rw-r--r-- | libbuild2/cc/link-rule.cxx | 9 |
1 files 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. |