Clear checks set after depdb verification
This commit is contained in:
parent
54a336216d
commit
fe71b0bac7
@ -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,
|
||||||
|
@ -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&,
|
||||||
|
Loading…
Reference in New Issue
Block a user