diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-12-20 02:47:01 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-12-20 02:47:01 +0000 |
| commit | da4de6c246849624b903251db9d1a3f6c94b1729 (patch) | |
| tree | 2b71f7c33afa6ec06f9e803cf3a6b4158b6b8493 /clang/lib/AST/ASTDiagnostic.cpp | |
| parent | 393a78d4d36b9573d0584c976ad3abef7fa6b318 (diff) | |
| download | bcm5719-llvm-da4de6c246849624b903251db9d1a3f6c94b1729.tar.gz bcm5719-llvm-da4de6c246849624b903251db9d1a3f6c94b1729.zip | |
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
Diffstat (limited to 'clang/lib/AST/ASTDiagnostic.cpp')
| -rw-r--r-- | clang/lib/AST/ASTDiagnostic.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/AST/ASTDiagnostic.cpp b/clang/lib/AST/ASTDiagnostic.cpp index a61abf7e34c..6fd07e1ef33 100644 --- a/clang/lib/AST/ASTDiagnostic.cpp +++ b/clang/lib/AST/ASTDiagnostic.cpp @@ -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) { } }; |

