Can I eat these foods on a yeast-free diet?

fruit (whole form, not fruit juice)
tomatos
potatos
corn

I’m really confused about the fruit because when yeast-free you’re supposed to eliminate sugar as well. Anyone with any experience with this? Thanks!