If you read Alan Guths account of the history of inflation, it was invented to solve one problem and one problem only: the mono pole problem. It was only realized afterwards that it then solves the flatness and horizon problems and gives an explanation to the origin of structure. That to me is the very opposite of ad hoc.
Accroding to WMAp and PLanck teams, inflation has passed several experimental tests , in particular detecting the red tilt in the power spectrum , observing a number called Ns=.96 , just as simple inflationary models predict.
However I think the comment made by Planck spokesman George Efstathiou was interesting. he said something a long the lines of inflation looks good after Planck but there are anomalies that could mean that inflation didnt happen at all and we should keep an open mind.
There is more data to be mined in the polarisation maps and this may require a new mission like these:
http://arxiv.org/abs/1102.2181
http://arxiv.org/abs/1306.2259
or even this very unlikely mission to directly detect primordial gravity waves.
http://en.wikipedia.org/wiki/Big_Bang_Observerver
My take, and I don't know if others agree, is that inflation is not an ad hoc theory but is probably not the whole story, the data so far looks good for inflation but it is not definitive enough yet that we can't consider rival theories e.g VSL, CCC, ekpyrotic, higgs cycles, Horava gravity etc.
Even if we can establish that some form of inflation there are still many different inflationary models that could be proposed and different ideas for what powered inflation to begin with.