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 | 934069464ec8ac551b15ccd8514e5e2321385d9a (patch) | |
| tree | 0fb2610a5201879ed61ffe13cc447c5fcf05bd80 | |
| parent | fc6c3e73cdc9005035612c0264ea7ccf85383403 (diff) | |
| download | bcm5719-llvm-934069464ec8ac551b15ccd8514e5e2321385d9a.tar.gz bcm5719-llvm-934069464ec8ac551b15ccd8514e5e2321385d9a.zip | |
Initialize a couple of fields inherited for our private use.
llvm-svn: 108532
| -rw-r--r-- | clang/include/clang/AST/Decl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/include/clang/AST/Decl.h b/clang/include/clang/AST/Decl.h index 39cd51f606b..7fbf874e8e5 100644 --- a/clang/include/clang/AST/Decl.h +++ b/clang/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() { |

