Clear checks set after depdb verification

This commit is contained in:
Boris Kolpackov 2022-01-20 16:27:45 +02:00
parent 54a336216d
commit fe71b0bac7
2 changed files with 13 additions and 0 deletions

View File

@ -110,6 +110,15 @@ namespace build2
// checks by in::rule. // checks by in::rule.
} }
void rule::
perform_update_pre (action, const target& t, ofdstream&, const char*) const
{
// Clear the checks set which may have already been partially populated
// during depdb verification.
//
t.data<match_data> ().checks.clear ();
}
void rule:: void rule::
process (const location& l, process (const location& l,
action a, const target& t, action a, const target& t,

View File

@ -27,6 +27,10 @@ namespace build2
virtual void virtual void
perform_update_depdb (action, const target&, depdb&) const override; perform_update_depdb (action, const target&, depdb&) const override;
virtual void
perform_update_pre (action, const target&,
ofdstream&, const char*) const override;
virtual void virtual void
process (const location&, process (const location&,
action, const target&, action, const target&,