diff options
| author | Shafik Yaghmour <shafik.yaghmour@intel.com> | 2025-01-22 00:28:08 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-22 09:28:08 +0100 |
| commit | 0a9c08c59ba61e727e9dee6d71883d9106963442 (patch) | |
| tree | 56be925bdb96d679c9f5ec77361b1d3161f2eff5 /lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp | |
| parent | 19a7fe03b4f58c4f73ea91d5e63bc4c6e61f987b (diff) | |
[Clang] Implement P2280R4 Using unknown pointers and references in constant expressions (#95474)
P2280R4 allows the use of references in pointers of unknown origins in a
constant expression context but only in specific cases that could be
constant expressions.
We track whether a variable is a constexpr unknown in a constant
expression by setting a flag in either APValue or LValue and using this
flag to prevent using unknown values in places where it is not allowed.
Fixes: https://github.com/llvm/llvm-project/issues/63139 https://github.com/llvm/llvm-project/issues/63117
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp')
0 files changed, 0 insertions, 0 deletions
