[all-commits] [llvm/llvm-project] 7d787d: [Clang][NFC] Simplify initialization of `OverloadC...
cor3ntin via All-commits
all-commits at lists.llvm.org
Wed Jul 24 08:28:20 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7d787df5b932b73aae6532d1e981152f103f9244
https://github.com/llvm/llvm-project/commit/7d787df5b932b73aae6532d1e981152f103f9244
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2024-07-24 (Wed, 24 Jul 2024)
Changed paths:
M clang/include/clang/Sema/Overload.h
M clang/lib/Sema/SemaOverload.cpp
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list