From: Vladimír Vondruš Date: Sat, 14 Sep 2024 02:40:22 +0000 (+0200) Subject: documentation/doxygen: avoid hitting the typedef dedup bug in tests. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=9febf020838880acdeba38ff2550b6cb31592e07;p=blog.git documentation/doxygen: avoid hitting the typedef dedup bug in tests. https://github.com/doxygen/doxygen/pull/11141 Sigh. I'd really like to have at least one Doxygen version newer than 1.8.18 on the CI, but it's a minefield because my tests work as designed and hit each and every regression and silly bug. --- diff --git a/documentation/test_doxygen/compound_includes/First.h b/documentation/test_doxygen/compound_includes/First.h index 52d644cb..6846ab86 100644 --- a/documentation/test_doxygen/compound_includes/First.h +++ b/documentation/test_doxygen/compound_includes/First.h @@ -19,7 +19,7 @@ namespace Contained { enum Enum {}; /** @brief A typedef */ -typedef int Int; +typedef int Int1; /** @brief A variable */ constexpr const int Var = 3; @@ -62,7 +62,7 @@ namespace Spread { enum Enum {}; /** @brief A typedef */ -typedef int Int; +typedef int Int2; /** @brief A variable */ constexpr const int Var = 3; @@ -108,7 +108,7 @@ All entries inside should have include information. (Unless the includes are dis enum Enum {}; /** @brief A typedef */ -typedef int Int; +typedef int Int3; /** @brief A variable */ constexpr const int Var = 3; diff --git a/documentation/test_doxygen/compound_includes/group__group.html b/documentation/test_doxygen/compound_includes/group__group.html index 6324027b..cdca8557 100644 --- a/documentation/test_doxygen/compound_includes/group__group.html +++ b/documentation/test_doxygen/compound_includes/group__group.html @@ -51,7 +51,7 @@

Typedefs

- using Int = int + using Int3 = int
A typedef.
@@ -95,9 +95,9 @@

Typedef documentation

-
+

- typedef int Int + typedef int Int3
#include <First.h>

A typedef.

diff --git a/documentation/test_doxygen/compound_includes/namespaceContained.html b/documentation/test_doxygen/compound_includes/namespaceContained.html index 594f71e3..d7ac6595 100644 --- a/documentation/test_doxygen/compound_includes/namespaceContained.html +++ b/documentation/test_doxygen/compound_includes/namespaceContained.html @@ -52,8 +52,8 @@

Typedefs

-
- using Int = int +
+ using Int1 = int
A typedef.
diff --git a/documentation/test_doxygen/compound_includes/namespaceSpread.html b/documentation/test_doxygen/compound_includes/namespaceSpread.html index b15d659a..c611e074 100644 --- a/documentation/test_doxygen/compound_includes/namespaceSpread.html +++ b/documentation/test_doxygen/compound_includes/namespaceSpread.html @@ -56,7 +56,7 @@

Typedefs

- using Int = int + using Int2 = int
A typedef.
@@ -119,9 +119,9 @@

Typedef documentation

-
+

- typedef int Spread::Int + typedef int Spread::Int2
#include <First.h>

A typedef.

diff --git a/documentation/test_doxygen/compound_includes_disabled/group__group.html b/documentation/test_doxygen/compound_includes_disabled/group__group.html index 80314973..a093e37c 100644 --- a/documentation/test_doxygen/compound_includes_disabled/group__group.html +++ b/documentation/test_doxygen/compound_includes_disabled/group__group.html @@ -50,8 +50,8 @@

Typedefs

-
- using Int = int +
+ using Int3 = int
A typedef.
diff --git a/documentation/test_doxygen/compound_includes_disabled/namespaceContained.html b/documentation/test_doxygen/compound_includes_disabled/namespaceContained.html index fe62c884..dc9ffc99 100644 --- a/documentation/test_doxygen/compound_includes_disabled/namespaceContained.html +++ b/documentation/test_doxygen/compound_includes_disabled/namespaceContained.html @@ -51,8 +51,8 @@

Typedefs

-
- using Int = int +
+ using Int1 = int
A typedef.
diff --git a/documentation/test_doxygen/compound_includes_disabled/namespaceSpread.html b/documentation/test_doxygen/compound_includes_disabled/namespaceSpread.html index 403dfef8..8c6436dd 100644 --- a/documentation/test_doxygen/compound_includes_disabled/namespaceSpread.html +++ b/documentation/test_doxygen/compound_includes_disabled/namespaceSpread.html @@ -55,8 +55,8 @@

Typedefs

-
- using Int = int +
+ using Int2 = int
A typedef.
diff --git a/documentation/test_doxygen/compound_includes_undocumented_files/First.h b/documentation/test_doxygen/compound_includes_undocumented_files/First.h index 633a20d0..3e359369 100644 --- a/documentation/test_doxygen/compound_includes_undocumented_files/First.h +++ b/documentation/test_doxygen/compound_includes_undocumented_files/First.h @@ -18,7 +18,7 @@ namespace Contained { enum Enum {}; /** @brief A typedef */ -typedef int Int; +typedef int Int1; /** @brief A variable */ constexpr const int Var = 3; @@ -61,7 +61,7 @@ namespace Spread { enum Enum {}; /** @brief A typedef */ -typedef int Int; +typedef int Int2; /** @brief A variable */ constexpr const int Var = 3; @@ -107,7 +107,7 @@ All entries inside should have include information. (Unless the includes are dis enum Enum {}; /** @brief A typedef */ -typedef int Int; +typedef int Int3; /** @brief A variable */ constexpr const int Var = 3;