[Clang] Issue an error when an atomic builtin is called with a pointer to a...
[Clang] Issue an error when an atomic builtin is called with a pointer to a zero-size object (#91057) When an atomic builtin is called with a pointer to an object of size zero, an arithmetic exception gets thrown because there is a modulo operation with the objects size in codegen. Diagnose this in sema instead. Fixes #90330.
parent
6a197b35
Please register or sign in to comment