Generally, if you have you have 20/20 vision without correction (glasses or contacts) then you should be able to pass the DOT physical and the "long form" will reflect that, which means you'll be able to get your CDL without the restriction. However, if you require any form of correction to achieve 20/20, then you'll still have the restriction but would still be able to get your CDL with the restriction noted on your license.
Excerpt from:
Visual Acuity: What is 20/20 Vision?
20/20 vision is a term used to express normal visual acuity (the clarity or sharpness of vision) measured at a distance of 20 feet. If you have 20/20 vision, you can see clearly at 20 feet what should normally be seen at that distance. If you have 20/100 vision, it means that you must be as close as 20 feet to see what a person with normal vision can see at 100 feet.
For example, I'm roughly 20/40 in my right eye and 20/45 in my left and I have severe astigmatism without my glasses. With my glasses, I'm 20/15 in both eyes and my astigmatism is corrected, so the back of my CDL says "Restrictions: B - Corr. Lenses" which just means I have to wear my glasses (or contacts) while driving.