aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/clang/AST/APValue.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/AST/APValue.h b/include/clang/AST/APValue.h
index 8fbb04e975..d88757de1a 100644
--- a/include/clang/AST/APValue.h
+++ b/include/clang/AST/APValue.h
@@ -54,6 +54,7 @@ private:
struct Vec {
APValue *Elts;
unsigned NumElts;
+ Vec() : Elts(0), NumElts(0) {}
~Vec() { delete[] Elts; }
};