I find the making it myself option to be much better due to the increased volatility of quality. Sure, I might spend 2 hours cooking and cleaning, but I know the quality will be good 100% of the time, whereas spending $25 per person may or may not get me a decent meal because the restaurant does not have steady employee and/or is cutting corners on quality ingredients to make up for other cost increases.
I think this would hurt the middle restaurants more than McDonalds though. McDonald's has it all streamlined so they can manage costs and still delivery consistency at a low price, but the restaurants in the middle that are okay, but not top tier no longer make sense.
I am not a good cook, but I did learn to cook the things I like to eat out specifically because of this consideration. In the beginning, it was a more difficult decision, but now I wouldn't for the world trade my certain home cooked dishes for restaurant ones.