diff options
author | John McCall <rjmccall@apple.com> | 2010-12-10 09:12:16 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-12-10 09:12:16 +0000 |
commit | 34e80e94a21eb1ac2a9405d918e711e8b12256a9 (patch) | |
tree | e1c34c0c98b4b57dacce897532e3d901aa780f33 | |
parent | f7616b9067790757f4e12e834b216c53c8c04ebe (diff) |
Optimize memory usage of FunctionProtoType on MSVC.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121475 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/AST/Type.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h index 1490ae7674..65978bede8 100644 --- a/include/clang/AST/Type.h +++ b/include/clang/AST/Type.h @@ -2168,10 +2168,10 @@ class FunctionProtoType : public FunctionType, public llvm::FoldingSetNode { unsigned NumExceptions : 10; /// HasExceptionSpec - Whether this function has an exception spec at all. - bool HasExceptionSpec : 1; + unsigned HasExceptionSpec : 1; /// AnyExceptionSpec - Whether this function has a throw(...) spec. - bool AnyExceptionSpec : 1; + unsigned AnyExceptionSpec : 1; /// ArgInfo - There is an variable size array after the class in memory that /// holds the argument types. |