[AST] Attempt to fix buildbot warnings + appease MSVC; NFCI
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Tue, 10 Apr 2018 01:11:26 +0000 (01:11 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Tue, 10 Apr 2018 01:11:26 +0000 (01:11 +0000)
commit37b1dd62bb253ac74de840781c2c68a57edffe50
tree6eaf995fc725a00b356a794436ce17467ec41d4d
parent6c05a3bb718d562859dcb164fe1a85756da12e8f
[AST] Attempt to fix buildbot warnings + appease MSVC; NFCI

GCC 4.8.4 on a bot was warning about `ArgPassingKind` not fitting in
`ArgPassingRestrictions`, which appears to be incorrect, since
`ArgPassingKind` only has three potential values:

"warning: 'clang::RecordDecl::ArgPassingRestrictions' is too small to
hold all values of 'enum clang::RecordDecl::ArgPassingKind'"

Additionally, I remember hearing (though my knowledge may be outdated)
that MSVC won't merge adjacent bitfields if their types are different.

Try to fix both issues by turning these into `uint8_t`s.

llvm-svn: 329652
clang/include/clang/AST/Decl.h