diff options
author | John McCall <rjmccall@apple.com> | 2010-07-16 17:02:45 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-07-16 17:02:45 +0000 |
commit | 31eb18c11d9dacdc0a500a35b269a81134207b84 (patch) | |
tree | 0f960e4b1223ac8d7e62d377771c357c069c866a | |
parent | f9f97a0ea15456dca52ba7962e5d8017f996cd4a (diff) |
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
-rw-r--r-- | include/clang/AST/Decl.h | 2 |
1 files changed, 2 insertions, 0 deletions
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() { |