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; } };