From 31eb18c11d9dacdc0a500a35b269a81134207b84 Mon Sep 17 00:00:00 2001 From: John McCall Date: Fri, 16 Jul 2010 17:02:45 +0000 Subject: [PATCH] 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 --- include/clang/AST/Decl.h | 2 ++ 1 file changed, 2 insertions(+) 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() { -- 2.40.0