From ecdebebab8e0833b7a0c13915a701fa46ba8853e Mon Sep 17 00:00:00 2001 From: Martchus Date: Wed, 4 Sep 2019 18:51:17 +0200 Subject: [PATCH] Exclude private structs from documentation --- application/argumentparser.cpp | 2 ++ tests/traitstests.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/application/argumentparser.cpp b/application/argumentparser.cpp index ef85d65..30d5967 100644 --- a/application/argumentparser.cpp +++ b/application/argumentparser.cpp @@ -67,6 +67,7 @@ ArgumentCompletionInfo::ArgumentCompletionInfo(const ArgumentReader &reader) { } +/// \cond struct ArgumentSuggestion { ArgumentSuggestion(const char *unknownArg, size_t unknownArgSize, const char *suggestion, bool hasDashPrefix); ArgumentSuggestion(const char *unknownArg, size_t unknownArgSize, const char *suggestion, size_t suggestionSize, bool hasDashPrefix); @@ -108,6 +109,7 @@ void ArgumentSuggestion::addTo(multiset &suggestions, size_t suggestions.erase(--suggestions.end()); } } +/// \endcond /*! * \class ArgumentReader diff --git a/tests/traitstests.cpp b/tests/traitstests.cpp index 6b34fa8..df54713 100644 --- a/tests/traitstests.cpp +++ b/tests/traitstests.cpp @@ -16,6 +16,7 @@ using namespace CppUtilities::Traits; using namespace CPPUNIT_NS; +/// \cond struct SomeStruct { string foo; int bar; @@ -27,6 +28,7 @@ struct CountableStruct { }; struct TestIncomplete; +/// \endcond static_assert(!Bool::value, "Bool"); static_assert(Bool::value, "Bool");