forked from OSchip/llvm-project
Fix uninitialized member found by msan build bot.
llvm-svn: 314246
This commit is contained in:
parent
ba9fa9fd16
commit
fd54435b95
|
@ -10271,7 +10271,7 @@ struct CompareOverloadCandidatesForDisplay {
|
||||||
CompareOverloadCandidatesForDisplay(
|
CompareOverloadCandidatesForDisplay(
|
||||||
Sema &S, SourceLocation Loc, size_t NArgs,
|
Sema &S, SourceLocation Loc, size_t NArgs,
|
||||||
OverloadCandidateSet::CandidateSetKind CSK)
|
OverloadCandidateSet::CandidateSetKind CSK)
|
||||||
: S(S), NumArgs(NArgs) {}
|
: S(S), NumArgs(NArgs), CSK(CSK) {}
|
||||||
|
|
||||||
bool operator()(const OverloadCandidate *L,
|
bool operator()(const OverloadCandidate *L,
|
||||||
const OverloadCandidate *R) {
|
const OverloadCandidate *R) {
|
||||||
|
|
Loading…
Reference in New Issue