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:
05cc40d
)
Supply a default 'operator=' method.
author
Bill Wendling
<isanbard@gmail.com>
Mon, 15 Oct 2012 06:34:18 +0000
(06:34 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Mon, 15 Oct 2012 06:34:18 +0000
(06:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165922
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Attributes.h
patch
|
blob
|
history
diff --git
a/include/llvm/Attributes.h
b/include/llvm/Attributes.h
index 2fc7bd1c5529c9d416be1d3a9fcd849a0d9fd3b6..afb2e564f0ea721485c62cc1b8557896f71899a0 100644
(file)
--- a/
include/llvm/Attributes.h
+++ b/
include/llvm/Attributes.h
@@
-95,6
+95,10
@@
public:
Attributes() : Attrs(0) {}
explicit Attributes(LLVMContext &C, ArrayRef<AttrVal> Vals);
Attributes(const Attributes &A);
+ Attributes &operator=(const Attributes &A) {
+ Attrs = A.Attrs;
+ return *this;
+ }
class Builder {
friend class Attributes;