Fix another uninitialized bool member bug found by -fsanitize=bool. This one

appears to currently be benign (we happen to test the flags in the right
order, so we never depend on the uninitialized value).

llvm-svn: 170640
This commit is contained in:
Richard Smith 2012-12-20 02:47:01 +00:00
parent 393a78d4d3
commit da4de6c246
1 changed files with 1 additions and 0 deletions

View File

@ -447,6 +447,7 @@ class TemplateDiff {
DiffNode(unsigned ParentNode = 0)
: NextNode(0), ChildNode(0), ParentNode(ParentNode),
FromType(), ToType(), FromExpr(0), ToExpr(0), FromTD(0), ToTD(0),
IsValidFromInt(false), IsValidToInt(false),
FromDefault(false), ToDefault(false), Same(false) { }
};