aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-12-10 09:12:16 +0000
committerJohn McCall <rjmccall@apple.com>2010-12-10 09:12:16 +0000
commit34e80e94a21eb1ac2a9405d918e711e8b12256a9 (patch)
treee1c34c0c98b4b57dacce897532e3d901aa780f33
parentf7616b9067790757f4e12e834b216c53c8c04ebe (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.h4
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.