From fd54435b95922a8d106361315c4c9163a5449342 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Tue, 26 Sep 2017 21:33:43 +0000 Subject: [PATCH] Fix uninitialized member found by msan build bot. llvm-svn: 314246 --- clang/lib/Sema/SemaOverload.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/Sema/SemaOverload.cpp b/clang/lib/Sema/SemaOverload.cpp index 66f0fad..66b252e 100644 --- a/clang/lib/Sema/SemaOverload.cpp +++ b/clang/lib/Sema/SemaOverload.cpp @@ -10271,7 +10271,7 @@ struct CompareOverloadCandidatesForDisplay { CompareOverloadCandidatesForDisplay( Sema &S, SourceLocation Loc, size_t NArgs, OverloadCandidateSet::CandidateSetKind CSK) - : S(S), NumArgs(NArgs) {} + : S(S), NumArgs(NArgs), CSK(CSK) {} bool operator()(const OverloadCandidate *L, const OverloadCandidate *R) { -- 2.7.4