summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-07-16 17:02:45 +0000
committerJohn McCall <rjmccall@apple.com>2010-07-16 17:02:45 +0000
commit934069464ec8ac551b15ccd8514e5e2321385d9a (patch)
tree0fb2610a5201879ed61ffe13cc447c5fcf05bd80
parentfc6c3e73cdc9005035612c0264ea7ccf85383403 (diff)
downloadbcm5719-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.h2
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() {
OpenPOWER on IntegriCloud