From 8cb16b2d6a97514bf17aa8ca2f6bf098cfc5bcbf Mon Sep 17 00:00:00 2001 From: Tristan Partin Date: Tue, 7 May 2024 14:51:40 -0500 Subject: Add support for GCC's null_terminated_string_arg function attribute This is new as of 14.1. --- docs/markdown/Reference-tables.md | 99 ++++++++++++++++++++------------------- 1 file changed, 51 insertions(+), 48 deletions(-) (limited to 'docs/markdown/Reference-tables.md') diff --git a/docs/markdown/Reference-tables.md b/docs/markdown/Reference-tables.md index d30d22a50..2357ff459 100644 --- a/docs/markdown/Reference-tables.md +++ b/docs/markdown/Reference-tables.md @@ -272,54 +272,55 @@ These values are supported using the GCC style `__attribute__` annotations, which are supported by GCC, Clang, and other compilers. -| Name | -|--------------------------| -| alias | -| aligned | -| alloc_size | -| always_inline | -| artificial | -| cold | -| const | -| constructor | -| constructor_priority | -| deprecated | -| destructor | -| error | -| externally_visible | -| fallthrough | -| flatten | -| format | -| format_arg | -| force_align_arg_pointer³ | -| gnu_inline | -| hot | -| ifunc | -| malloc | -| noclone | -| noinline | -| nonnull | -| noreturn | -| nothrow | -| optimize | -| packed | -| pure | -| retain⁴ | -| returns_nonnull | -| section⁵ | -| sentinel⁵ | -| unused | -| used | -| vector_size⁶ | -| visibility* | -| visibility:default† | -| visibility:hidden† | -| visibility:internal† | -| visibility:protected† | -| warning | -| warn_unused_result | -| weak | -| weakref | +| Name | +|-----------------------------| +| alias | +| aligned | +| alloc_size | +| always_inline | +| artificial | +| cold | +| const | +| constructor | +| constructor_priority | +| deprecated | +| destructor | +| error | +| externally_visible | +| fallthrough | +| flatten | +| format | +| format_arg | +| force_align_arg_pointer³ | +| gnu_inline | +| hot | +| ifunc | +| malloc | +| noclone | +| noinline | +| nonnull | +| noreturn | +| nothrow | +| null_terminated_string_arg⁷ | +| optimize | +| packed | +| pure | +| retain⁴ | +| returns_nonnull | +| section⁵ | +| sentinel⁵ | +| unused | +| used | +| vector_size⁶ | +| visibility* | +| visibility:default† | +| visibility:hidden† | +| visibility:internal† | +| visibility:protected† | +| warning | +| warn_unused_result | +| weak | +| weakref | \* *Changed in 0.52.0* the "visibility" target no longer includes "protected", which is not present in Apple's clang. @@ -335,6 +336,8 @@ which are supported by GCC, Clang, and other compilers. ⁶ *New in 1.1.0* +⁷ *New in 1.5.0* + ### MSVC __declspec These values are supported using the MSVC style `__declspec` annotation, -- cgit v1.2.3