aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Attributes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h
index d36e10d658..e34881842a 100644
--- a/include/llvm/Attributes.h
+++ b/include/llvm/Attributes.h
@@ -154,6 +154,9 @@ public:
friend class Attributes;
uint64_t Bits;
public:
+ Builder() : Bits(0) {}
+ Builder(const Attributes &A) : Bits(A.Bits) {}
+
void addZExtAttr() {
Bits |= Attribute::ZExt_i;
}