summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-02-27 20:04:30 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-02-27 20:04:30 +0000
commit361ae9a83e1e3098adabaaad34d0925b30358f38 (patch)
treeb08fe423348349bd2f67cfaca9a354cd9317d011 /include
parent1ebae62697cd634c4134e61bac3823584f8c403a (diff)
downloadclang-361ae9a83e1e3098adabaaad34d0925b30358f38.tar.gz
clang-361ae9a83e1e3098adabaaad34d0925b30358f38.tar.bz2
clang-361ae9a83e1e3098adabaaad34d0925b30358f38.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151545 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/clang/AST/Type.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h
index bfff07ccbb..8146d7b6f1 100644
--- a/include/clang/AST/Type.h
+++ b/include/clang/AST/Type.h
@@ -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;