summaryrefslogtreecommitdiffstats
path: root/src/docparser.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-04-14 18:58:12 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-04-14 18:58:12 (GMT)
commit3901935a5366fa292aa1d3880593b6fb13008b14 (patch)
tree5ab530f2a8e3f874fc2e925fd8e0bb988de8d3c8 /src/docparser.cpp
parent341f860ab7ae3e5255891b0984bec8b36e7557ef (diff)
downloadDoxygen-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.cpp10
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);