diff options
| author | Tristan Partin <tristan@partin.io> | 2024-07-11 10:11:27 -0500 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-11-18 08:22:34 -0800 |
| commit | ccbc91c23393ad9754e1019c4ce5853cf5c8a8e3 (patch) | |
| tree | 27543d9a13b1dd22531d18845b3e1f4ba762a35a /docs/markdown | |
| parent | bf45777a1d979465abea3cd1ade8ff227eacdf9a (diff) | |
| download | meson-ccbc91c23393ad9754e1019c4ce5853cf5c8a8e3.tar.gz | |
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.
Diffstat (limited to 'docs/markdown')
| -rw-r--r-- | docs/markdown/Reference-tables.md | 3 | ||||
| -rw-r--r-- | docs/markdown/snippets/add_counted_by_attribute.md | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/docs/markdown/Reference-tables.md b/docs/markdown/Reference-tables.md index 9ac24a43c..4a3bf288b 100644 --- a/docs/markdown/Reference-tables.md +++ b/docs/markdown/Reference-tables.md @@ -297,6 +297,7 @@ which are supported by GCC, Clang, and other compilers. | const | | constructor | | constructor_priority | +| counted_by⁸ | | deprecated | | destructor | | error | @@ -352,6 +353,8 @@ which are supported by GCC, Clang, and other compilers. ⁷ *New in 1.5.0* +⁸ *New in 1.10.0* + ### MSVC __declspec These values are supported using the MSVC style `__declspec` annotation, 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. |
