Skip to content

valgrind error in function NoteFunctionCandidate, file SemaOverload.cpp line 11961 #98769

@dcb314

Description

@dcb314

cvise $ /home/dcb40b/valgrind/results/bin/valgrind -q --trace-children=yes /home/dcb40b/llvm/results/bin/clang++ -c bug157.cc
==1668426== Conditional jump or move depends on uninitialised value(s)
==1668426== at 0x47E3526: NoteFunctionCandidate (SemaOverload.cpp:11961)
==1668426== by 0x47E3526: clang::OverloadCandidateSet::NoteCandidates(clang::Sema&, llvm::ArrayRefclang::Expr*, llvm::ArrayRefclang::OverloadCandidate*, llvm::StringRef, clang::SourceLocation) (SemaOverload.cpp:12591)

bug157.cc.gz

File SemaOverload.cpp, line 11961 is

  !Cand->Function->hasCXXExplicitFunctionObjectParameter() &&

This bug has existed since sometime before git hash 005758e,
dated 20240614.

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang:frontendLanguage frontend issues, e.g. anything involving "Sema"code-qualityconfirmedVerified by a second partygood first issuehttps://github.com/llvm/llvm-project/contributeneeds-reductionLarge reproducer that should be reduced into a simpler form

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions