search for: functionp

Displaying 1 result from an estimated 1 matches for "functionp".

Did you mean: function
2016 Mar 19
2
Should we enable -Wrange-loop-analysis? (Was: [llvm] r261524 - Fix some abuse of auto...)
...=diff > ============================================================================== > --- llvm/trunk/lib/Target/PowerPC/PPCBoolRetToInt.cpp (original) > +++ llvm/trunk/lib/Target/PowerPC/PPCBoolRetToInt.cpp Mon Feb 22 07:11:58 2016 > @@ -119,7 +119,7 @@ class PPCBoolRetToInt : public FunctionP > Promotable.insert(P); > > SmallVector<const PHINode *, 8> ToRemove; > - for (const auto &P : Promotable) { > + for (const PHINode *P : Promotable) { > // Condition 2 and 3 > auto IsValidUser = [] (const Value *V) -> bool {...