diff options
Diffstat (limited to 'tools/bookmaker/selfCheck.cpp')
-rw-r--r-- | tools/bookmaker/selfCheck.cpp | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/tools/bookmaker/selfCheck.cpp b/tools/bookmaker/selfCheck.cpp index f30a5824bc..fd8ef59fa1 100644 --- a/tools/bookmaker/selfCheck.cpp +++ b/tools/bookmaker/selfCheck.cpp @@ -66,7 +66,7 @@ protected: // should be 'creators' instead of constructors? bool checkConstructorsSummary() { for (auto& rootChild : fRoot->fChildren) { - if (!this->isStructOrClass(rootChild)) { + if (!rootChild->isStructOrClass()) { continue; } auto& cs = rootChild; @@ -357,7 +357,7 @@ protected: const Definition* classOrStruct() { for (auto& rootChild : fRoot->fChildren) { - if (this->isStructOrClass(rootChild)) { + if (rootChild->isStructOrClass()) { return rootChild; } } @@ -460,17 +460,6 @@ protected: return true; } - bool isStructOrClass(const Definition* definition) const { - if (MarkType::kStruct != definition->fMarkType && - MarkType::kClass != definition->fMarkType) { - return false; - } - if (string::npos != definition->fFileName.find("undocumented.bmh")) { - return false; - } - return true; - } - private: const BmhParser& fBmhParser; RootDefinition* fRoot; |