summaryrefslogtreecommitdiffstats
path: root/testing/057
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-11-21 18:59:38 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-11-21 18:59:38 (GMT)
commit61f8521f768165e02a5f28df3fb442e3b91d170b (patch)
tree24848bb3261aefa110ed01e575071fd22a56bf48 /testing/057
parentb2d009555ebce4a6802ac0255c056e880bdb45bd (diff)
downloadDoxygen-61f8521f768165e02a5f28df3fb442e3b91d170b.zip
Doxygen-61f8521f768165e02a5f28df3fb442e3b91d170b.tar.gz
Doxygen-61f8521f768165e02a5f28df3fb442e3b91d170b.tar.bz2
issue #8192: Excluded inline namespace broken after a5792da8
- Further fixes to make classes inside inline namespaces appear in the parent scope again. - Also added a test case to check for regression
Diffstat (limited to 'testing/057')
-rw-r--r--testing/057/namespacelibrary.xml30
-rw-r--r--testing/057/namespacelibrary_1_1v1.xml28
-rw-r--r--testing/057/namespacelibrary_1_1v2.xml13
3 files changed, 71 insertions, 0 deletions
diff --git a/testing/057/namespacelibrary.xml b/testing/057/namespacelibrary.xml
new file mode 100644
index 0000000..0357e29
--- /dev/null
+++ b/testing/057/namespacelibrary.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="" xml:lang="en-US">
+ <compounddef id="namespacelibrary" kind="namespace" language="C++">
+ <compoundname>library</compoundname>
+ <innerclass refid="classlibrary_1_1v2_1_1foo" prot="public">library::v2::foo</innerclass>
+ <innernamespace refid="namespacelibrary_1_1v1">library::v1</innernamespace>
+ <innernamespace refid="namespacelibrary_1_1v2" inline="yes">library::v2</innernamespace>
+ <innernamespace refid="namespacelibrary_1_1v2_1_1_n_s">library::v2::NS</innernamespace>
+ <sectiondef kind="func">
+ <memberdef kind="function" id="057__inlinenamespace_8cpp_1aba9375172f5b36e1f4fda9b1dec39d90" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
+ <type>void</type>
+ <definition>void library::v2::func</definition>
+ <argsstring>()</argsstring>
+ <name>func</name>
+ <briefdescription>
+ </briefdescription>
+ <detaileddescription>
+ </detaileddescription>
+ <inbodydescription>
+ </inbodydescription>
+ <location file="057_inlinenamespace.cpp" line="16" column="14" declfile="057_inlinenamespace.cpp" declline="16" declcolumn="14"/>
+ </memberdef>
+ </sectiondef>
+ <briefdescription>
+ </briefdescription>
+ <detaileddescription>
+ </detaileddescription>
+ <location file="057_inlinenamespace.cpp" line="5" column="1"/>
+ </compounddef>
+</doxygen>
diff --git a/testing/057/namespacelibrary_1_1v1.xml b/testing/057/namespacelibrary_1_1v1.xml
new file mode 100644
index 0000000..62eaabb
--- /dev/null
+++ b/testing/057/namespacelibrary_1_1v1.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="" xml:lang="en-US">
+ <compounddef id="namespacelibrary_1_1v1" kind="namespace" language="C++">
+ <compoundname>library::v1</compoundname>
+ <innerclass refid="classlibrary_1_1v1_1_1foo" prot="public">library::v1::foo</innerclass>
+ <innernamespace refid="namespacelibrary_1_1v1_1_1_n_s">library::v1::NS</innernamespace>
+ <sectiondef kind="func">
+ <memberdef kind="function" id="057__inlinenamespace_8cpp_1a2257981298fec15f79c54c28880ac15c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
+ <type>void</type>
+ <definition>void library::v1::func</definition>
+ <argsstring>()</argsstring>
+ <name>func</name>
+ <briefdescription>
+ </briefdescription>
+ <detaileddescription>
+ </detaileddescription>
+ <inbodydescription>
+ </inbodydescription>
+ <location file="057_inlinenamespace.cpp" line="10" column="14" declfile="057_inlinenamespace.cpp" declline="10" declcolumn="14"/>
+ </memberdef>
+ </sectiondef>
+ <briefdescription>
+ </briefdescription>
+ <detaileddescription>
+ </detaileddescription>
+ <location file="057_inlinenamespace.cpp" line="7" column="5"/>
+ </compounddef>
+</doxygen>
diff --git a/testing/057/namespacelibrary_1_1v2.xml b/testing/057/namespacelibrary_1_1v2.xml
new file mode 100644
index 0000000..b4ff956
--- /dev/null
+++ b/testing/057/namespacelibrary_1_1v2.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="" xml:lang="en-US">
+ <compounddef id="namespacelibrary_1_1v2" kind="namespace" inline="yes" language="C++">
+ <compoundname>library::v2</compoundname>
+ <innerclass refid="classlibrary_1_1v2_1_1foo" prot="public">library::v2::foo</innerclass>
+ <innernamespace refid="namespacelibrary_1_1v2_1_1_n_s">library::v2::NS</innernamespace>
+ <briefdescription>
+ </briefdescription>
+ <detaileddescription>
+ </detaileddescription>
+ <location file="057_inlinenamespace.cpp" line="13" column="12"/>
+ </compounddef>
+</doxygen>