On 08/04/21 21:43 +0100, Jonathan Wakely wrote:
On 06/04/21 16:54 +0100, Jonathan Wakely wrote:
A change in Doxygen 1.8.16 means that "// @}" is no longer recognized by
Doxygen, so doesn't close a @{ group. A "///" comment needs to be used.

There are a few cases of /* @} */ which need a similar fix.

And some more that my ' // @[{}]' regex didn't match because the
comment is in the first column.

Tested powerpc64le-linux. Committed to trunk.


commit 72ddd861d3881eba141c41c1ccbb4e8b3be159a5
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Fri Apr 9 00:24:41 2021

    libstdc++: Fix even more doxygen markup for group close commands
    
    More fixes like r11-8009 and r11-8066.
    
    libstdc++-v3/ChangeLog:
    
            * include/bits/fs_fwd.h: Fix doxygen group command.
            * include/bits/streambuf_iterator.h: Likewise.
            * include/bits/uses_allocator_args.h: Likewise.
            * include/std/memory: Likewise.
            * include/tr1/complex: Likewise.

diff --git a/libstdc++-v3/include/bits/fs_fwd.h b/libstdc++-v3/include/bits/fs_fwd.h
index 1b9c388ef8c..3a1ff35f8e2 100644
--- a/libstdc++-v3/include/bits/fs_fwd.h
+++ b/libstdc++-v3/include/bits/fs_fwd.h
@@ -339,7 +339,7 @@ _GLIBCXX_END_NAMESPACE_CXX11
   bool is_symlink(file_status) noexcept;
 
 } // namespace filesystem
-// @}
+/// @}
 _GLIBCXX_END_NAMESPACE_VERSION
 } // namespace std
 #endif // C++17
diff --git a/libstdc++-v3/include/bits/streambuf_iterator.h b/libstdc++-v3/include/bits/streambuf_iterator.h
index 22af3fd5995..cda596af40f 100644
--- a/libstdc++-v3/include/bits/streambuf_iterator.h
+++ b/libstdc++-v3/include/bits/streambuf_iterator.h
@@ -498,7 +498,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
       __i._M_c = __eof;
     }
 
-// @} group iterators
+/// @} group iterators
 
 _GLIBCXX_END_NAMESPACE_VERSION
 } // namespace
diff --git a/libstdc++-v3/include/bits/uses_allocator_args.h b/libstdc++-v3/include/bits/uses_allocator_args.h
index 8b95e8087a2..8b548ff6981 100644
--- a/libstdc++-v3/include/bits/uses_allocator_args.h
+++ b/libstdc++-v3/include/bits/uses_allocator_args.h
@@ -220,7 +220,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
       }, std::uses_allocator_construction_args<_Tp>(__a,
 	std::forward<_Args>(__args)...));
     }
-// @}
+/// @}
 _GLIBCXX_END_NAMESPACE_VERSION
 } // namespace std
 #endif // C++20
diff --git a/libstdc++-v3/include/std/memory b/libstdc++-v3/include/std/memory
index f077e7c8bf1..f19de275b2b 100644
--- a/libstdc++-v3/include/std/memory
+++ b/libstdc++-v3/include/std/memory
@@ -128,7 +128,7 @@ undeclare_no_pointers(char*, size_t) { }
 /// The type of pointer safety supported by the implementation.
 inline pointer_safety
 get_pointer_safety() noexcept { return pointer_safety::relaxed; }
-// @}
+/// @}
 
 _GLIBCXX_END_NAMESPACE_VERSION
 } // namespace
diff --git a/libstdc++-v3/include/tr1/complex b/libstdc++-v3/include/tr1/complex
index 2440c742fad..6b04ca32f77 100644
--- a/libstdc++-v3/include/tr1/complex
+++ b/libstdc++-v3/include/tr1/complex
@@ -411,7 +411,7 @@ namespace tr1
     pow(const std::complex<_Tp>& __x, const std::complex<_Tp>& __y)
     { return std::pow(__x, __y); }
 
-// @} group complex_numbers
+/// @} group complex_numbers
 }
 
 _GLIBCXX_END_NAMESPACE_VERSION

Reply via email to