diff options
author | cor3ntin <corentinjabot@gmail.com> | 2024-07-24 17:27:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-24 17:27:58 +0200 |
commit | 7d787df5b932b73aae6532d1e981152f103f9244 (patch) | |
tree | 79427c41f6ff4f67a68a1d52fd7ce2b57adf5044 /llvm/lib/CodeGen/MachineBlockPlacement.cpp | |
parent | 8d8fa01a66d5051356b698ef0264a01f6aade185 (diff) | |
download | llvm-7d787df5b932b73aae6532d1e981152f103f9244.zip llvm-7d787df5b932b73aae6532d1e981152f103f9244.tar.gz llvm-7d787df5b932b73aae6532d1e981152f103f9244.tar.bz2 |
[Clang][NFC] Simplify initialization of `OverloadCandidate` objects. (#100318)
Initialize some fields of OverloadCandidate in its constructor. The goal
here is try to fix read of uninitialized variable (which I was not able
to reproduce)
https://github.com/llvm/llvm-project/pull/93430#issuecomment-2187544278
We should certainly try to improve the construction of
`OverloadCandidate` further as it can be quite britle.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions