diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-04-14 18:58:12 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-04-14 18:58:12 (GMT) |
commit | 3901935a5366fa292aa1d3880593b6fb13008b14 (patch) | |
tree | 5ab530f2a8e3f874fc2e925fd8e0bb988de8d3c8 /src/docparser.cpp | |
parent | 341f860ab7ae3e5255891b0984bec8b36e7557ef (diff) | |
download | Doxygen-3901935a5366fa292aa1d3880593b6fb13008b14.zip Doxygen-3901935a5366fa292aa1d3880593b6fb13008b14.tar.gz Doxygen-3901935a5366fa292aa1d3880593b6fb13008b14.tar.bz2 |
issue #7702: test list is always created
Diffstat (limited to 'src/docparser.cpp')
-rw-r--r-- | src/docparser.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp index 029dc3f..00f287c 100644 --- a/src/docparser.cpp +++ b/src/docparser.cpp @@ -2179,15 +2179,7 @@ DocXRefItem::DocXRefItem(DocNode *parent,int id,const char *key) : bool DocXRefItem::parse() { RefList *refList = RefListManager::instance().find(m_key); - if (refList && - ( - // either not a built-in list or the list is enabled - (m_key!="todo" || Config_getBool(GENERATE_TODOLIST)) && - (m_key!="test" || Config_getBool(GENERATE_TESTLIST)) && - (m_key!="bug" || Config_getBool(GENERATE_BUGLIST)) && - (m_key!="deprecated" || Config_getBool(GENERATE_DEPRECATEDLIST)) - ) - ) + if (refList && refList->isEnabled()) { RefItem *item = refList->find(m_id); ASSERT(item!=0); |