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:
bbc328c
)
[LLD] Add a default copy constructor to avoid warnings
author
Nemanja Ivanovic
<nemanja.i.ibm@gmail.com>
Mon, 25 Nov 2019 20:07:57 +0000
(14:07 -0600)
committer
Nemanja Ivanovic
<nemanja.i.ibm@gmail.com>
Mon, 25 Nov 2019 20:09:16 +0000
(14:09 -0600)
This should fix the failure on the PPC64LE LLD bot.
lld/COFF/Chunks.h
patch
|
blob
|
history
diff --git
a/lld/COFF/Chunks.h
b/lld/COFF/Chunks.h
index
6bb629f
..
6aed040
100644
(file)
--- a/
lld/COFF/Chunks.h
+++ b/
lld/COFF/Chunks.h
@@
-267,6
+267,7
@@
public:
AssociatedIterator, std::forward_iterator_tag, SectionChunk> {
public:
AssociatedIterator() = default;
+ AssociatedIterator(const AssociatedIterator&) = default;
AssociatedIterator(SectionChunk *head) : cur(head) {}
AssociatedIterator &operator=(const AssociatedIterator &r) {
cur = r.cur;