[clang] [Clang] Fix crash in alignment builtins with null pointers (PR #224549)

via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 2 02:27:58 PDT 2026


================
@@ -115,6 +115,12 @@ void constant_expression(int x) {
   _Static_assert(!__builtin_is_aligned(256, 512ULL), "");
----------------
keepyixiao wrote:

Thanks for the suggestion! I have updated the test file with an additional
set of RUN lines using `-fexperimental-new-constant-interpreter`.

I appreciate your review and guidance.

https://github.com/llvm/llvm-project/pull/224549


More information about the cfe-commits mailing list