[all-commits] [llvm/llvm-project] 9fda68: [Clang] Document the interaction of malloc_span an...
Nikolas Klauser via All-commits
all-commits at lists.llvm.org
Mon Sep 14 04:14:59 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9fda68e41dcb8d19751bc042508eeee8bd9c596a
https://github.com/llvm/llvm-project/commit/9fda68e41dcb8d19751bc042508eeee8bd9c596a
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2026-09-14 (Mon, 14 Sep 2026)
Changed paths:
M clang/include/clang/Basic/AttrDocs.td
Log Message:
-----------
[Clang] Document the interaction of malloc_span and alloc_size (#216967)
The `malloc_span` attribute is intended to be used for
`allocate_at_least`-like functions. Part of that interface is a
guarantee that the number of bytes returned are actually
dereferenceable. Document that, so that we can optimize on it in the
future.
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