From 13d3da81277f296969206cbfe2dc5191391f49c2 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314246 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/SemaOverload.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Sema/SemaOverload.cpp b/lib/Sema/SemaOverload.cpp index 66f0fad138..66b252e144 100644 --- a/lib/Sema/SemaOverload.cpp +++ b/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.40.0