git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237914
91177308-0d34-0410-b5e6-
96231b3b80d8
SmallVector<Value *, 4> Objs;
getUnderlyingObjects(V, Objs, DL);
SmallVector<Value *, 4> Objs;
getUnderlyingObjects(V, Objs, DL);
- for (SmallVectorImpl<Value *>::iterator I = Objs.begin(),
- IE = Objs.end(); I != IE; ++I) {
+ for (Value *V : Objs) {
// Does this pointer refer to a distinct and identifiable object?
// Does this pointer refer to a distinct and identifiable object?
- if (!isIdentifiedObject(*I))
+ if (!isIdentifiedObject(V))