diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-08-17 20:27:02 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-08-18 15:02:31 +0100 |
commit | aba938d6c3525450e70fe26e7d92a70761a5ba8e (patch) | |
tree | 61f78d5a88585af07e9a1fc326fb8d89ab32e95f /libstdc++-v3/doc | |
parent | 37620d575111caf3b24d4b9039808334e619c13a (diff) | |
download | gcc-aba938d6c3525450e70fe26e7d92a70761a5ba8e.zip gcc-aba938d6c3525450e70fe26e7d92a70761a5ba8e.tar.gz gcc-aba938d6c3525450e70fe26e7d92a70761a5ba8e.tar.bz2 |
libstdc++: Enable doxygen processing for C++20 components
Improve grouping, add @since and @deprecated information.
Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
libstdc++-v3/ChangeLog:
* doc/doxygen/user.cfg.in (PREDEFINED): Enable doxygen
processing for C++20 components and components that depend on
compiler features.
* include/bits/stl_algo.h (random_shuffle): Use @deprecated.
* include/std/type_traits: Improve doxygen comments for C++20
traits.
Diffstat (limited to 'libstdc++-v3/doc')
-rw-r--r-- | libstdc++-v3/doc/doxygen/user.cfg.in | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/libstdc++-v3/doc/doxygen/user.cfg.in b/libstdc++-v3/doc/doxygen/user.cfg.in index 349b9ec..ab9e552 100644 --- a/libstdc++-v3/doc/doxygen/user.cfg.in +++ b/libstdc++-v3/doc/doxygen/user.cfg.in @@ -2384,7 +2384,7 @@ INCLUDE_FILE_PATTERNS = # recursively expanded use the := operator instead of the = operator. # This tag requires that the tag ENABLE_PREPROCESSING is set to YES. -PREDEFINED = __cplusplus=201703L \ +PREDEFINED = __cplusplus=202002L \ __GTHREADS \ _GLIBCXX_HAS_GTHREADS \ _GLIBCXX_HAVE_TLS \ @@ -2427,6 +2427,13 @@ PREDEFINED = __cplusplus=201703L \ __cpp_exceptions \ __cpp_rtti \ __cpp_inline_variables \ + __cpp_constexpr_dynamic_alloc \ + __cpp_aligned_new \ + __cpp_sized_deallocation \ + __cpp_concepts=209900 \ + __cpp_deduction_guides=209900 \ + __cpp_impl_three_way_comparison=209900 \ + __cpp_impl_coroutine \ ATOMIC_INT_LOCK_FREE=2 \ PB_DS_DATA_TRUE_INDICATOR \ PB_DS_STATIC_ASSERT=// \ @@ -2448,8 +2455,15 @@ PREDEFINED = __cplusplus=201703L \ "_GLIBCXX20_DEPRECATED(E)= " \ "_GLIBCXX20_DEPRECATED(E)= " \ _GLIBCXX17_INLINE=inline \ - _GLIBCXX_CHRONO_INT64_T=int64_t \ - _GLIBCXX_DEFAULT_ABI_TAG + _GLIBCXX_CHRONO_INT64_T=int64_t \ + _GLIBCXX_DEFAULT_ABI_TAG \ + _GLIBCXX_USE_DEPRECATED \ + _GLIBCXX_HOSTED \ + "__has_builtin(x)=1" \ + _GLIBCXX_HAVE_BUILTIN_HAS_UNIQ_OBJ_REP \ + _GLIBCXX_HAVE_BUILTIN_IS_AGGREGATE \ + _GLIBCXX_HAVE_BUILTIN_IS_CONSTANT_EVALUATED \ + _GLIBCXX_HAVE_BUILTIN_LAUNDER \ # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this # tag can be used to specify a list of macro names that should be expanded. The |