r314246 - Fix uninitialized member found by msan build bot.
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 26 14:33:43 PDT 2017
Author: rsmith
Date: Tue Sep 26 14:33:43 2017
New Revision: 314246
URL: http://llvm.org/viewvc/llvm-project?rev=314246&view=rev
Log:
Fix uninitialized member found by msan build bot.
Modified:
cfe/trunk/lib/Sema/SemaOverload.cpp
Modified: cfe/trunk/lib/Sema/SemaOverload.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaOverload.cpp?rev=314246&r1=314245&r2=314246&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaOverload.cpp (original)
+++ cfe/trunk/lib/Sema/SemaOverload.cpp Tue Sep 26 14:33:43 2017
@@ -10271,7 +10271,7 @@ struct CompareOverloadCandidatesForDispl
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) {
More information about the cfe-commits
mailing list