Initialize a couple of fields inherited for our private use.

llvm-svn: 108532
This commit is contained in:
John McCall 2010-07-16 17:02:45 +00:00
parent fc6c3e73cd
commit 934069464e
1 changed files with 2 additions and 0 deletions

View File

@ -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() {