serge-sans-paille wrote: reproducer:
``` struct nfp_nfd3_tx_desc; void nfp_nfdk_tx_ring_reset(struct nfp_nfd3_tx_desc *txds) { __builtin_memset(txds, 0, 8); } ``` so we basically have an incomplete type, and we shouldn't warn in that case. I'll submit a patch. https://github.com/llvm/llvm-project/pull/111434 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits