forked from OSchip/llvm-project
Just drop the bitfield from ExtProtoInfo, this struct isn't even heap allocated so it doesn't hurt.
MSVC < 10 still has the signed enum bitfield bug, making the top bit unusable. llvm-svn: 151545
This commit is contained in:
parent
fb09968e60
commit
5e8636f36e
|
@ -2698,16 +2698,16 @@ public:
|
|||
/// ExtProtoInfo - Extra information about a function prototype.
|
||||
struct ExtProtoInfo {
|
||||
ExtProtoInfo() :
|
||||
Variadic(false), HasTrailingReturn(false), ExceptionSpecType(EST_None),
|
||||
RefQualifier(RQ_None), TypeQuals(0), NumExceptions(0), Exceptions(0),
|
||||
NoexceptExpr(0), ConsumedArguments(0) {}
|
||||
Variadic(false), HasTrailingReturn(false), TypeQuals(0),
|
||||
ExceptionSpecType(EST_None), RefQualifier(RQ_None),
|
||||
NumExceptions(0), Exceptions(0), NoexceptExpr(0), ConsumedArguments(0) {}
|
||||
|
||||
FunctionType::ExtInfo ExtInfo;
|
||||
bool Variadic : 1;
|
||||
bool HasTrailingReturn : 1;
|
||||
ExceptionSpecificationType ExceptionSpecType : 4;
|
||||
RefQualifierKind RefQualifier : 3;
|
||||
unsigned char TypeQuals;
|
||||
ExceptionSpecificationType ExceptionSpecType;
|
||||
RefQualifierKind RefQualifier;
|
||||
unsigned NumExceptions;
|
||||
const QualType *Exceptions;
|
||||
Expr *NoexceptExpr;
|
||||
|
|
Loading…
Reference in New Issue