Use smaller ints for bitflags
This commit is contained in:
parent
0dddad0dc5
commit
f2645776dc
4 changed files with 4 additions and 4 deletions
|
@ -65,7 +65,7 @@ mod attr_impl {
|
|||
// The subset of llvm::Attribute needed for arguments, packed into a bitfield.
|
||||
bitflags::bitflags! {
|
||||
#[derive(Default, HashStable_Generic)]
|
||||
pub struct ArgAttribute: u16 {
|
||||
pub struct ArgAttribute: u8 {
|
||||
const NoAlias = 1 << 1;
|
||||
const NoCapture = 1 << 2;
|
||||
const NonNull = 1 << 3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue