diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-26 16:55:55 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-26 16:55:55 +0000 |
commit | 0e2e13f4daa71edac982633120531333b45e77b5 (patch) | |
tree | 37b698e9cba5173dbecb4f9e8320bd4f2c947505 | |
parent | a6c10681e57c292e16a18bdb9891c8db6ebe5c83 (diff) |
Bit pack ExtProtoInfo.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151494 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/AST/Type.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h index 412b51d55f..e5e3c60083 100644 --- a/include/clang/AST/Type.h +++ b/include/clang/AST/Type.h @@ -2699,15 +2699,15 @@ public: struct ExtProtoInfo { ExtProtoInfo() : Variadic(false), HasTrailingReturn(false), ExceptionSpecType(EST_None), - TypeQuals(0), RefQualifier(RQ_None), NumExceptions(0), Exceptions(0), + RefQualifier(RQ_None), TypeQuals(0), NumExceptions(0), Exceptions(0), NoexceptExpr(0), ConsumedArguments(0) {} FunctionType::ExtInfo ExtInfo; - bool Variadic; - bool HasTrailingReturn; - ExceptionSpecificationType ExceptionSpecType; + bool Variadic : 1; + bool HasTrailingReturn : 1; + ExceptionSpecificationType ExceptionSpecType : 4; + RefQualifierKind RefQualifier : 2; unsigned char TypeQuals; - RefQualifierKind RefQualifier; unsigned NumExceptions; const QualType *Exceptions; Expr *NoexceptExpr; |