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:
f1dd494
)
Use array_pod_sort.
author
Bill Wendling
<isanbard@gmail.com>
Wed, 13 Feb 2013 09:26:26 +0000
(09:26 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Wed, 13 Feb 2013 09:26:26 +0000
(09:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175048
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/IR/Attributes.cpp
patch
|
blob
|
history
diff --git
a/lib/IR/Attributes.cpp
b/lib/IR/Attributes.cpp
index
7d0bec2
..
3de304e
100644
(file)
--- a/
lib/IR/Attributes.cpp
+++ b/
lib/IR/Attributes.cpp
@@
-412,7
+412,7
@@
AttributeSetNode *AttributeSetNode::get(LLVMContext &C,
FoldingSetNodeID ID;
SmallVector<Attribute, 8> SortedAttrs(Attrs.begin(), Attrs.end());
-
std::
sort(SortedAttrs.begin(), SortedAttrs.end());
+
array_pod_
sort(SortedAttrs.begin(), SortedAttrs.end());
for (SmallVectorImpl<Attribute>::iterator I = SortedAttrs.begin(),
E = SortedAttrs.end(); I != E; ++I)