[cfe-commits] r151545 - /cfe/trunk/include/clang/AST/Type.h
Benjamin Kramer
benny.kra at googlemail.com
Mon Feb 27 12:04:30 PST 2012
Author: d0k
Date: Mon Feb 27 14:04:30 2012
New Revision: 151545
URL: http://llvm.org/viewvc/llvm-project?rev=151545&view=rev
Log:
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.
Modified:
cfe/trunk/include/clang/AST/Type.h
Modified: cfe/trunk/include/clang/AST/Type.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Type.h?rev=151545&r1=151544&r2=151545&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Type.h (original)
+++ cfe/trunk/include/clang/AST/Type.h Mon Feb 27 14:04:30 2012
@@ -2698,16 +2698,16 @@
/// 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;
More information about the cfe-commits
mailing list