summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2021-03-15 11:52:09 (GMT)
committeralbert-github <albert.tests@gmail.com>2021-03-15 11:52:09 (GMT)
commite97e5f0b35f6a70b9d69f1290a6c7e3685409b91 (patch)
tree88a89459194a7ca3283707a4a2bfbfd63d2d382c
parent9136e8c664bc4b0706a9cf419c76b2277b87f4a1 (diff)
downloadDoxygen-e97e5f0b35f6a70b9d69f1290a6c7e3685409b91.zip
Doxygen-e97e5f0b35f6a70b9d69f1290a6c7e3685409b91.tar.gz
Doxygen-e97e5f0b35f6a70b9d69f1290a6c7e3685409b91.tar.bz2
Warnings regarding Internal inconsistency: namespace in IDL
n the ACE TAO package we find a number of warnings like: ``` .../ACE_TAO/ACE/html/libtao-doc/security/TAO_Security.tag:1: error: Internal inconsistency: namespace in IDL not module, library or constant group .../ACE_TAO/TAO/orbsvcs/orbsvcs/CosEventChannelAdmin.idl:30: error: Internal inconsistency: namespace in IDL not module, library or constant group ``` There are a number of reasons for these warnings a.o. IDL modules not handled properly but seen as namespaces and when type is not an IDL modules a warning is given. This happens especially when the module is documented with `@namespace` or there is a namespace definition with the same name in a C++ file (which is just a mapping between IDL and C++). Based on the discussion in https://github.com/DOCGroup/ACE_TAO/pull/1450#issuecomment-799277574 and the results from pull request #8429 a new version has been crated with just the extra test this just removes all Internal inconsistency warnings.
-rw-r--r--src/namespacedef.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/namespacedef.cpp b/src/namespacedef.cpp
index 7acd463..b1d9722 100644
--- a/src/namespacedef.cpp
+++ b/src/namespacedef.cpp
@@ -79,7 +79,7 @@ class NamespaceDefImpl : public DefinitionMixin<NamespaceDefMutable>
virtual QCString localName() const;
virtual void setInline(bool isInline) { m_inline = isInline; }
virtual bool isConstantGroup() const { return CONSTANT_GROUP == m_type; }
- virtual bool isModule() const { return MODULE == m_type; }
+ virtual bool isModule() const { return NAMESPACE == m_type || MODULE == m_type; }
virtual bool isLibrary() const { return LIBRARY == m_type; }
virtual bool isInline() const { return m_inline; }
virtual bool isLinkableInProject() const;