<div dir="ltr">This patch changes DebugInfoFinder iterator functions to be range-based-loops-friendly. To make it even easier to users the iterators now also actually return the DI type, not just the MDNode - all but one user (in DebugIR) benefit from this.<div>

<br></div><div>Notice that this means there are now 5 iterator typedefs instead of just one; but in the rare case they need to be referred to, such as in Cloning.cpp, "auto" can just be used. Also, once all supported compilers implement alias template, all 5 typedefs could be generalized into one.</div>

<div><br></div><div>- Alon</div></div>