aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/lldbtest.py
diff options
context:
space:
mode:
authoroffsetof <131769984+offsetof@users.noreply.github.com>2024-04-29 13:23:50 +0000
committerGitHub <noreply@github.com>2024-04-29 17:23:50 +0400
commitcaa902613a96f63c3855b3a0bcd82d1b1db49408 (patch)
tree9fa8de082e87c4c2250f0be0103a6f5ced89df48 /lldb/packages/Python/lldbsuite/test/lldbtest.py
parente57b8724140664da408da92d5d50f9a1e0c9828a (diff)
downloadllvm-caa902613a96f63c3855b3a0bcd82d1b1db49408.zip
llvm-caa902613a96f63c3855b3a0bcd82d1b1db49408.tar.gz
llvm-caa902613a96f63c3855b3a0bcd82d1b1db49408.tar.bz2
[clang] Allow constexpr cast from `void*` in more cases (#89484)
[[expr.const]/5.14](https://eel.is/c++draft/expr.const#5.14) says that constexpr cast from <code>*cv* void\*</code> to `T*` is OK if the pointee type is similar to `T`, but Clang currently only permits the conversion if the types are the same except top-level cv-qualifiers. This patch also allows casting `(void*)nullptr`, implementing the resolution of [CWG2819](https://cplusplus.github.io/CWG/issues/2819). --------- Co-authored-by: Vlad Serebrennikov <serebrennikov.vladislav@gmail.com>
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
0 files changed, 0 insertions, 0 deletions