From ccbc91c23393ad9754e1019c4ce5853cf5c8a8e3 Mon Sep 17 00:00:00 2001 From: Tristan Partin Date: Thu, 11 Jul 2024 10:11:27 -0500 Subject: Add support for the `counted_by` attribute This is a new attribute released in GCC 15 and clang 18. It isn't supported in C++ compilers at the moment. --- docs/markdown/snippets/add_counted_by_attribute.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 docs/markdown/snippets/add_counted_by_attribute.md (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/add_counted_by_attribute.md b/docs/markdown/snippets/add_counted_by_attribute.md new file mode 100644 index 000000000..aa80b6dad --- /dev/null +++ b/docs/markdown/snippets/add_counted_by_attribute.md @@ -0,0 +1,4 @@ +## Support for the `counted_by` attribute + +`compiler.has_function_attribute()` now supports for the new `counted_by` +attribute. -- cgit v1.2.3