From: John McCall Date: Fri, 16 Jul 2010 17:02:45 +0000 (+0000) Subject: Initialize a couple of fields inherited for our private use. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=31eb18c11d9dacdc0a500a35b269a81134207b84;p=clang Initialize a couple of fields inherited for our private use. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108532 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/Decl.h b/include/clang/AST/Decl.h index 39cd51f606..7fbf874e8e 100644 --- a/include/clang/AST/Decl.h +++ b/include/clang/AST/Decl.h @@ -2037,6 +2037,8 @@ class EnumDecl : public TagDecl { IdentifierInfo *Id, EnumDecl *PrevDecl, SourceLocation TKL) : TagDecl(Enum, TTK_Enum, DC, L, Id, PrevDecl, TKL), InstantiatedFrom(0) { IntegerType = QualType(); + NumNegativeBits = 0; + NumPositiveBits = 0; } public: EnumDecl *getCanonicalDecl() {