Initialize a couple of fields inherited for our private use.
llvm-svn: 108532
This commit is contained in:
parent
fc6c3e73cd
commit
934069464e
|
@ -2037,6 +2037,8 @@ class EnumDecl : public TagDecl {
|
||||||
IdentifierInfo *Id, EnumDecl *PrevDecl, SourceLocation TKL)
|
IdentifierInfo *Id, EnumDecl *PrevDecl, SourceLocation TKL)
|
||||||
: TagDecl(Enum, TTK_Enum, DC, L, Id, PrevDecl, TKL), InstantiatedFrom(0) {
|
: TagDecl(Enum, TTK_Enum, DC, L, Id, PrevDecl, TKL), InstantiatedFrom(0) {
|
||||||
IntegerType = QualType();
|
IntegerType = QualType();
|
||||||
|
NumNegativeBits = 0;
|
||||||
|
NumPositiveBits = 0;
|
||||||
}
|
}
|
||||||
public:
|
public:
|
||||||
EnumDecl *getCanonicalDecl() {
|
EnumDecl *getCanonicalDecl() {
|
||||||
|
|
Loading…
Reference in New Issue