projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f5a2be
)
[NFC] Fix "ambiguous overload for ‘operator=’"
author
Vitaly Buka
<vitalybuka@google.com>
Fri, 30 Oct 2020 07:36:50 +0000
(
00:36
-0700)
committer
Vitaly Buka
<vitalybuka@google.com>
Fri, 30 Oct 2020 07:36:50 +0000
(
00:36
-0700)
llvm/lib/Transforms/Coroutines/CoroFrame.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/Coroutines/CoroFrame.cpp
b/llvm/lib/Transforms/Coroutines/CoroFrame.cpp
index
98a85fe
..
705d0ed
100644
(file)
--- a/
llvm/lib/Transforms/Coroutines/CoroFrame.cpp
+++ b/
llvm/lib/Transforms/Coroutines/CoroFrame.cpp
@@
-954,7
+954,7
@@
private:
} else if (Itr->second.hasValue() && Itr->second.getValue() != Offset) {
// If we have seen two different possible values for this alias, we set
// it to empty.
- AliasOffetMap[&I]
= {}
;
+ AliasOffetMap[&I]
.reset()
;
}
}
}