Files
clang-p2996/clang/lib/Sema/SemaChecking.cpp
Oliver Stannard ecdc5289af [Clang] Fix crash in __builtin_assume_aligned (#114217)
The CodeGen for __builtin_assume_aligned assumes that the first argument
is a pointer, so crashes if the int-conversion error is downgraded or
disabled. Emit a non-downgradable error if the argument is not a
pointer, like we currently do for __builtin_launder.

Fixes #110914.
2024-12-19 10:34:56 +00:00

551 KiB