1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Add constructors to the attribute builder.

llvm-svn: 164762
This commit is contained in:
Bill Wendling 2012-09-27 07:22:30 +00:00
parent 95ec62ccf1
commit c8cda02cd8

View File

@ -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;
}