forked from OSchip/llvm-project
[Mips] Remove an unnecessary wrapping of a predicate with std::ptr_fun. NFC
llvm-svn: 253855
This commit is contained in:
parent
805e657584
commit
2241dfd2dc
|
@ -3334,7 +3334,7 @@ static std::pair<bool, bool> parsePhysicalReg(StringRef C, StringRef &Prefix,
|
|||
|
||||
// Search for the first numeric character.
|
||||
StringRef::const_iterator I, B = C.begin() + 1, E = C.end() - 1;
|
||||
I = std::find_if(B, E, std::ptr_fun(isdigit));
|
||||
I = std::find_if(B, E, isdigit);
|
||||
|
||||
Prefix = StringRef(B, I - B);
|
||||
|
||||
|
|
Loading…
Reference in New Issue