Provided she has gone past the exit checks on the day, I think she will be fine and not be an overstayer.
However, be aware that the Home Office has started looking closely at visit visa applications of people who stay in the UK for the full six months of their visit visa. The idea of a visit visa is that they visit for a short period at any time within the six months. They should not be residing in the UK in the guise of a visit visa.
"4.2 (a) (c) (e) of Appendix V,
Immigration Rules of Visitors" states:
The applicant must satisfy the decision maker that they are a genuine visitor. This means that the applicant:
(a) will leave the UK at the end of their visit; and
(b) will not live in the UK for extended periods through frequent or successive visits, or make the UK their main home; and
(c) is genuinely seeking entry for a purpose that is permitted by the visitor routes (these are listed in Appendices 3, 4 and 5); and
(d) will not undertake any prohibited activities set out in V 4.5 – V 4.10; and
(e) must have sufficient funds to cover all reasonable costs in relation to their visit without working or accessing public funds. This includes the cost of the return or onward journey, any costs relating to dependants, and the cost of planned activities such as private medical treatment.
Even after getting the visit visa, if the Immigration Officer at the airport comes to the conclusion that the visitor is residing in the UK in the guise of a visit visa, they can cancel the visit visa on the spot and have them sent back to their country of origin. As that would be on their record, that would also make it very difficult if not impossible for them to get a visit visa in the future.
So factor all of that in before booking a return ticket.
I am not a lawyer or immigration advisor. My statements/comments do not constitute legal advice. E&OE. Please do not PM me for advice.