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:
a463ea5
)
[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:43:32 +0000
(
00:43
-0700)
From D89768
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
705d0ed
..
5fb7135
100644
(file)
--- a/
llvm/lib/Transforms/Coroutines/CoroFrame.cpp
+++ b/
llvm/lib/Transforms/Coroutines/CoroFrame.cpp
@@
-946,7
+946,7
@@
private:
return;
if (!IsOffsetKnown) {
- AliasOffetMap[&I]
= {}
;
+ AliasOffetMap[&I]
.reset()
;
} else {
auto Itr = AliasOffetMap.find(&I);
if (Itr == AliasOffetMap.end()) {