diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2025-02-01 09:47:01 +0000 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2025-02-01 09:48:18 +0000 |
| commit | 149031204c0c804a66571a751b259da95886640d (patch) | |
| tree | 4c36c2b86776a5c0116e7212bc31dd1f4bfe3f78 /src/Compilation/Config.zig | |
| parent | d97441d37ef08813187f1b44ec29612619104585 (diff) | |
| download | zig-149031204c0c804a66571a751b259da95886640d.tar.gz zig-149031204c0c804a66571a751b259da95886640d.zip | |
Sema: skip aliasing check and runtime operation for `@memcpy` of zero-bit type
This check isn't valid in such cases, because the source and destination
pointers both refer to zero bits of memory, meaning they effectively
never alias.
Resolves: #21655
Diffstat (limited to 'src/Compilation/Config.zig')
0 files changed, 0 insertions, 0 deletions
