From 3d6b356c19bc4a1e0d61317b0c557d8ccc2d0cbb Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Mon, 23 Nov 2015 07:19:06 +0000 Subject: [PATCH] [Mips] Remove an unnecessary wrapping of a predicate with std::ptr_fun. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253855 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Mips/MipsISelLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/Mips/MipsISelLowering.cpp b/lib/Target/Mips/MipsISelLowering.cpp index 142d14a13a2..6756c1702f7 100644 --- a/lib/Target/Mips/MipsISelLowering.cpp +++ b/lib/Target/Mips/MipsISelLowering.cpp @@ -3334,7 +3334,7 @@ static std::pair 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); -- 2.34.1