Issue 107750
Summary Using uninitialized value `function_ref.callable` when calling `operator ()`
Labels new issue
Assignees
Reporter anmyachev
    This is found by `Coverity` tool.

I believe this field should be initialized to a default value explicitly:
https://github.com/llvm/llvm-project/blob/78fa41524b6f6e2696ff21ec50e760311ac939a3/llvm/include/llvm/ADT/STLFunctionalExtras.h#L41

`operator ()`:
https://github.com/llvm/llvm-project/blob/78fa41524b6f6e2696ff21ec50e760311ac939a3/llvm/include/llvm/ADT/STLFunctionalExtras.h#L68
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to