projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c157b2
)
[Mips] Remove an unnecessary wrapping of a predicate with std::ptr_fun. NFC
author
Craig Topper
<craig.topper@gmail.com>
Mon, 23 Nov 2015 07:19:06 +0000
(07:19 +0000)
committer
Craig Topper
<craig.topper@gmail.com>
Mon, 23 Nov 2015 07:19:06 +0000
(07:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253855
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/Mips/MipsISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/Mips/MipsISelLowering.cpp
b/lib/Target/Mips/MipsISelLowering.cpp
index 142d14a13a29cbf3f62f8af9b9e45bb07c2c11ed..6756c1702f76b48bbf7173a497d59612ddc167d5 100644
(file)
--- a/
lib/Target/Mips/MipsISelLowering.cpp
+++ b/
lib/Target/Mips/MipsISelLowering.cpp
@@
-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);