diff options
| author | Aaron Ballman <aaron@aaronballman.com> | 2025-03-07 14:46:29 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-07 14:46:29 -0500 |
| commit | b19ed9c0435c5f7c89cba40285df3a1395a782fd (patch) | |
| tree | bde72fab846b52a494308d550c039891914a26d8 /lldb/source/Plugins/ObjectFile/JSON/ObjectFileJSON.cpp | |
| parent | 3a228a33c4cb55b56ecc45bee1ae02efba341b56 (diff) | |
[C2y] Implement WG14 N3409 (#130299)
This paper removes UB around use of void expressions. Previously, code
like this had undefined behavior:
```
void foo(void) {
(void)(void)1;
extern void x;
x;
}
```
and this is now well-defined in C2y. Functionally, this now means that
it is valid to use `void` as a `_Generic` association.
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/JSON/ObjectFileJSON.cpp')
0 files changed, 0 insertions, 0 deletions
