mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
[Mips] Remove an unnecessary wrapping of a predicate with std::ptr_fun. NFC
llvm-svn: 253855
This commit is contained in:
parent
4878e2f9f9
commit
58de1119dc
@ -3334,7 +3334,7 @@ static std::pair<bool, bool> parsePhysicalReg(StringRef C, StringRef &Prefix,
|
|||||||
|
|
||||||
// Search for the first numeric character.
|
// Search for the first numeric character.
|
||||||
StringRef::const_iterator I, B = C.begin() + 1, E = C.end() - 1;
|
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);
|
Prefix = StringRef(B, I - B);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user