Depends on the kind of diet.
T.Rex hat monstrous teeth - and he was a flesh-eater.
Scientists still argue, though, whether he was a hunter or an eater of carrion alone.
The question isn't as simple as it might be.
Smaller teeth -> probably vegetarian diet.
However, I must admit that I've never ever seen any vegetarian
dragons yet ...