projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update SetVector to rely on the underlying set's insert to return a pair<iterator...
[oota-llvm.git]
/
lib
/
Analysis
/
PtrUseVisitor.cpp
diff --git
a/lib/Analysis/PtrUseVisitor.cpp
b/lib/Analysis/PtrUseVisitor.cpp
index 1b0f359e6366c683d4406d17ab5696e4f0799969..68c7535ea59438c4871db05ea5c588f9069cd314 100644
(file)
--- a/
lib/Analysis/PtrUseVisitor.cpp
+++ b/
lib/Analysis/PtrUseVisitor.cpp
@@
-17,7
+17,7
@@
using namespace llvm;
void detail::PtrUseVisitorBase::enqueueUsers(Instruction &I) {
for (Use &U : I.uses()) {
- if (VisitedUses.insert(&U)) {
+ if (VisitedUses.insert(&U)
.second
) {
UseToVisit NewU = {
UseToVisit::UseAndIsOffsetKnownPair(&U, IsOffsetKnown),
Offset