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:
parent
95ec62ccf1
commit
c8cda02cd8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user