https://github.com/melver commented:

The crash was found via alloc_size, but format and nonnull also use ParamIdx. 
It might be worth adding a case for nonnull to ensure the fix is truly generic 
and doesn't have side effects on other attributes.

gh199407.c is descriptive of the GH Issue, but 
attr-structural-equivalence-paramidx.c might be more discoverable. Consider if 
some existing tests are a better home.

https://github.com/llvm/llvm-project/pull/199980
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to