summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-07-21 05:27:31 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-07-21 05:27:31 +0000
commit22fdae9bd53ef9f7cb3b968b1d532e19a07436f5 (patch)
tree8db192aa4223fd1fe4bb036699409694b6c901ee
parent57721ac5916c52a13d518bdb24aa479417c5beb3 (diff)
downloadbcm5719-llvm-22fdae9bd53ef9f7cb3b968b1d532e19a07436f5.tar.gz
bcm5719-llvm-22fdae9bd53ef9f7cb3b968b1d532e19a07436f5.zip
Add missing initialization found due to a valgrind false positive.
This field is never inspected in the object state initialized by this constructor; however, initializing it seems reasonable, since it has a meaningful value. llvm-svn: 213499
-rw-r--r--clang/lib/AST/DeclCXX.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/DeclCXX.cpp b/clang/lib/AST/DeclCXX.cpp
index 43d0fca9f92..ed26c5262a7 100644
--- a/clang/lib/AST/DeclCXX.cpp
+++ b/clang/lib/AST/DeclCXX.cpp
@@ -1625,7 +1625,7 @@ CXXCtorInitializer::CXXCtorInitializer(ASTContext &Context,
VarDecl **Indices,
unsigned NumIndices)
: Initializee(Member), MemberOrEllipsisLocation(MemberLoc), Init(Init),
- LParenLoc(L), RParenLoc(R), IsVirtual(false),
+ LParenLoc(L), RParenLoc(R), IsDelegating(false), IsVirtual(false),
IsWritten(false), SourceOrderOrNumArrayIndices(NumIndices)
{
VarDecl **MyIndices = reinterpret_cast<VarDecl **> (this + 1);
OpenPOWER on IntegriCloud