diff options
author | Marcel Jacobse <mjacobse@uni-bremen.de> | 2025-09-24 20:33:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-24 18:33:27 +0000 |
commit | 3cc56dd82a78964ab0b5edc9738abf90f259e36a (patch) | |
tree | a53c38556aa65e9f23c1bdd06d9d5c6620fc0c79 /lldb/packages/Python/lldbsuite/test/gdbclientutils.py | |
parent | 14a126b37a2a0898ad09aa00da7b276d20cb2a86 (diff) | |
download | llvm-3cc56dd82a78964ab0b5edc9738abf90f259e36a.zip llvm-3cc56dd82a78964ab0b5edc9738abf90f259e36a.tar.gz llvm-3cc56dd82a78964ab0b5edc9738abf90f259e36a.tar.bz2 |
[Clang] [Sema] Fix -Wdouble-promotion in C++ list-initialization (#159992)
Resolves https://github.com/llvm/llvm-project/issues/33409.
The information `IsListInit` is already passed to function
`CheckImplicitConversion` for another use-case which makes adding a
condition for the double-promotion case simple.
Also adds tests, both for the changed list-initialization case as well
as for normal explicit casts which already would have passed before this
PR. These negative tests are added directly next to the positive tests
in `warn-double-promotion.c` or for the C++-specific cases in a new .cpp
version of that file.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/gdbclientutils.py')
0 files changed, 0 insertions, 0 deletions