summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/lib/AST/ASTDiagnostic.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/AST/ASTDiagnostic.cpp b/clang/lib/AST/ASTDiagnostic.cpp
index c241041ccb3..ea4d0dea58a 100644
--- a/clang/lib/AST/ASTDiagnostic.cpp
+++ b/clang/lib/AST/ASTDiagnostic.cpp
@@ -603,8 +603,7 @@ class TemplateDiff {
unsigned ReadNode;
public:
- DiffTree() :
- CurrentNode(0), NextFreeNode(1) {
+ DiffTree() : CurrentNode(0), NextFreeNode(1), ReadNode(0) {
FlatTree.push_back(DiffNode());
}
OpenPOWER on IntegriCloud