chiark / gitweb /
doxygen: improve #include information display based on real-world use.
authorVladimír Vondruš <mosra@centrum.cz>
Mon, 31 Dec 2018 23:35:49 +0000 (00:35 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Mon, 31 Dec 2018 23:35:49 +0000 (00:35 +0100)
commit9965808f5b9bc1298b4269926e307024a4b57b5b
tree991eeec6ddae92c5867abd227ba746a8a8248737
parentd0076c306840f9d88920fd058863c1eee54b0018
doxygen: improve #include information display based on real-world use.

 * In cases where Doxygen spots the namespace first in a *.cpp file (and
   later in a header) but the namespace is still contained in a single
   header, the include informations was improperly put locally into
   members, instead of globally. Now the information is propagated
   upwards from the members to ensure correctness. This needs also
   special handling for namespaces that are otherwise empty, where
   there's nothing that could propagate the info upwards.
 * Complex namespaces (namespaces containing other namespaces or
   classes) no longer have the include information global even though
   the non-class/namespace members are in the same file. This would be
   misleading since inner namespaces and classes are often in different
   files.
doxygen/dox2html5.py
doxygen/test/compound_deprecated/namespaceDeprecatedNamespace.html
doxygen/test/compound_includes/First.h
doxygen/test/compound_includes/namespaceContainsNamespace.html [new file with mode: 0644]
doxygen/test/compound_includes/namespaceContainsNamespace_1_1ContainsClass.html [new file with mode: 0644]
doxygen/test/compound_includes/namespaceEmpty.html [new file with mode: 0644]
doxygen/test/compound_listing/namespaceRoot_1_1Directory.html
doxygen/test/test_compound.py