From: David Majnemer Date: Thu, 7 Jul 2016 04:43:11 +0000 (+0000) Subject: [AST] Tighten up the bitfield in TemplateSpecializationType X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b2011f870be4a78aac8561319c7c3944cd92cedf;p=clang [AST] Tighten up the bitfield in TemplateSpecializationType Optimize the bitfield types to conserve space for the MSVC ABI. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274733 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h index 7642ad4812..1067c086c7 100644 --- a/include/clang/AST/Type.h +++ b/include/clang/AST/Type.h @@ -4168,7 +4168,7 @@ class LLVM_ALIGNAS(/*alignof(uint64_t)*/ 8) TemplateSpecializationType unsigned NumArgs : 31; /// Whether this template specialization type is a substituted type alias. - bool TypeAlias : 1; + unsigned TypeAlias : 1; TemplateSpecializationType(TemplateName T, ArrayRef Args,