diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h index d36e10d6589..e34881842aa 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; }