[all-commits] [llvm/llvm-project] 203c06: [clang] Fix assertion crash in alloc_size structur...
Aayush Shrivastava via All-commits
all-commits at lists.llvm.org
Mon Jun 1 10:57:59 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 203c0668d4b098714d1748de766e890fe6296891
https://github.com/llvm/llvm-project/commit/203c0668d4b098714d1748de766e890fe6296891
Author: Aayush Shrivastava <79578660+iamaayushrivastava at users.noreply.github.com>
Date: 2026-06-01 (Mon, 01 Jun 2026)
Changed paths:
M clang/lib/AST/AttrImpl.cpp
M clang/test/Sema/alloc-size.c
M clang/test/Sema/attr-nonnull.c
Log Message:
-----------
[clang] Fix assertion crash in alloc_size structural equivalence check (#199407) (#199980)
Fixes #199407
Remove ParamIdx from the `USE_DEFAULT_EQUALITY` default-comparison path
and add an explicit `equalAttrArgs<ParamIdx>` specialization that safely
handles invalid (unset) values.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list