From 43420bd77408559cb66c83e9ce601426b371bc74 Mon Sep 17 00:00:00 2001
From: Dimitri van Heesch
Date: Sun, 15 Mar 2020 11:08:19 +0100
Subject: issue #7635: Incorrect location for enum in XML file (part 2)
---
qtools/qcollection.cpp | 2 +-
qtools/qdatastream.cpp | 7 -------
qtools/qfile.cpp | 4 ++--
src/doxygen.cpp | 16 ++++++++--------
testing/009/bug.xml | 2 +-
testing/009/class_bug.xml | 2 +-
testing/009/class_deprecated.xml | 2 +-
testing/009/class_reminder.xml | 2 +-
testing/009/class_test.xml | 2 +-
testing/009/class_todo.xml | 2 +-
testing/009/deprecated.xml | 2 +-
testing/009/reminders.xml | 2 +-
testing/009/test.xml | 2 +-
testing/009/todo.xml | 2 +-
testing/011/category_integer_07_arithmetic_08.xml | 2 +-
testing/011/interface_integer.xml | 2 +-
testing/013/class_t1.xml | 2 +-
testing/013/class_t2.xml | 2 +-
testing/013/class_t3.xml | 2 +-
testing/013/class_t4.xml | 2 +-
testing/018/018__def_8c.xml | 2 +-
testing/021/indexpage.xml | 2 +-
testing/025/class_test.xml | 2 +-
testing/026/class_test.xml | 2 +-
testing/027/struct_car.xml | 2 +-
testing/027/struct_object.xml | 2 +-
testing/027/struct_truck.xml | 2 +-
testing/027/struct_vehicle.xml | 2 +-
testing/037/class_receiver.xml | 2 +-
testing/037/class_sender.xml | 2 +-
testing/039/class_test.xml | 2 +-
testing/040/namespace_n_s.xml | 2 +-
testing/041/class_test.xml | 2 +-
testing/044/struct_s.xml | 2 +-
testing/046/class_test.xml | 2 +-
testing/064/struct_foo.xml | 2 +-
testing/066/class_class1.xml | 2 +-
testing/071/namespace_a_namespace_1_1_0d0.xml | 4 ++--
testing/073/073__typed__enum_8cpp.xml | 2 +-
testing/074/namespacens.xml | 2 +-
testing/074/struct_foo.xml | 2 +-
testing/075/struct_foo.xml | 2 +-
.../078__xml__namespace__members__in__file__scope_8h.xml | 2 +-
testing/080/class_interface.xml | 2 +-
testing/082/namespace_n.xml | 2 +-
testing/083/namespace_n.xml | 2 +-
testing/085/085__tooltip_8cpp.xml | 4 ++--
47 files changed, 56 insertions(+), 63 deletions(-)
diff --git a/qtools/qcollection.cpp b/qtools/qcollection.cpp
index e70b64b..4f86227 100644
--- a/qtools/qcollection.cpp
+++ b/qtools/qcollection.cpp
@@ -60,7 +60,7 @@
*/
-/*! \enum QCollection::Item
+/*! \typedef QCollection::Item
This type is the generic "item" in a QCollection.
*/
diff --git a/qtools/qdatastream.cpp b/qtools/qdatastream.cpp
index a2e5c3b..d539daf 100644
--- a/qtools/qdatastream.cpp
+++ b/qtools/qdatastream.cpp
@@ -815,13 +815,6 @@ QDataStream &QDataStream::operator<<( Q_INT64 i )
}
/*!
- \fn QDataStream &QDataStream::operator<<( uint i )
- Writes an unsigned integer to the stream as a 32-bit unsigned integer
- (Q_UINT32).
- Returns a reference to the stream.
-*/
-
-/*!
\fn QDataStream &QDataStream::operator<<( int i )
Writes a signed integer to the stream as a 32-bit signed integer (Q_INT32).
Returns a reference to the stream.
diff --git a/qtools/qfile.cpp b/qtools/qfile.cpp
index 98ed9a3..7939160 100644
--- a/qtools/qfile.cpp
+++ b/qtools/qfile.cpp
@@ -497,7 +497,7 @@ QCString QFile::encodeName( const QString &fileName )
}
/*!
- \enum QFile::EncoderFn
+ \typedef QFile::EncoderFn
This is used by QFile::setEncodingFunction().
*/
@@ -532,7 +532,7 @@ QString QFile::decodeName( const QCString &localFileName )
}
/*!
- \enum QFile::DecoderFn
+ \typedef QFile::DecoderFn
This is used by QFile::setDecodingFunction().
*/
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index a0e9623..cc6b898 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -7722,9 +7722,9 @@ static void addSourceReferences()
for (cli.toFirst();(cd=cli.current());++cli)
{
FileDef *fd=cd->getBodyDef();
- if (fd && cd->isLinkableInProject() && cd->getStartBodyLine()!=-1)
+ if (fd && cd->isLinkableInProject() && cd->getDefLine()!=-1)
{
- fd->addSourceRef(cd->getStartBodyLine(),cd,0);
+ fd->addSourceRef(cd->getDefLine(),cd,0);
}
}
// add source references for namespace definitions
@@ -7733,9 +7733,9 @@ static void addSourceReferences()
for (nli.toFirst();(nd=nli.current());++nli)
{
FileDef *fd=nd->getBodyDef();
- if (fd && nd->isLinkableInProject() && nd->getStartBodyLine()!=-1)
+ if (fd && nd->isLinkableInProject() && nd->getDefLine()!=-1)
{
- fd->addSourceRef(nd->getStartBodyLine(),nd,0);
+ fd->addSourceRef(nd->getDefLine(),nd,0);
}
}
@@ -7754,14 +7754,14 @@ static void addSourceReferences()
// md->getStartBodyLine(),md->isLinkableInProject());
FileDef *fd=md->getBodyDef();
if (fd &&
- md->getStartBodyLine()!=-1 &&
+ md->getDefLine()!=-1 &&
md->isLinkableInProject() &&
(fd->generateSourceFile() || Doxygen::parseSourcesNeeded)
)
{
//printf("Found member '%s' in file '%s' at line '%d' def=%s\n",
// md->name().data(),fd->name().data(),md->getStartBodyLine(),md->getOuterScope()->name().data());
- fd->addSourceRef(md->getStartBodyLine(),md->getOuterScope(),md);
+ fd->addSourceRef(md->getDefLine(),md->getOuterScope(),md);
}
}
}
@@ -7779,14 +7779,14 @@ static void addSourceReferences()
// md->isLinkableInProject(),
// Doxygen::parseSourcesNeeded);
if (fd &&
- md->getStartBodyLine()!=-1 &&
+ md->getDefLine()!=-1 &&
md->isLinkableInProject() &&
(fd->generateSourceFile() || Doxygen::parseSourcesNeeded)
)
{
//printf("Found member '%s' in file '%s' at line '%d' def=%s\n",
// md->name().data(),fd->name().data(),md->getStartBodyLine(),md->getOuterScope()->name().data());
- fd->addSourceRef(md->getStartBodyLine(),md->getOuterScope(),md);
+ fd->addSourceRef(md->getDefLine(),md->getOuterScope(),md);
}
}
}
diff --git a/testing/009/bug.xml b/testing/009/bug.xml
index ca3a22a..dc7abaf 100644
--- a/testing/009/bug.xml
+++ b/testing/009/bug.xml
@@ -12,7 +12,7 @@
Class [Bug]
- Class bug.
+ Class bug.
Member [Bug::foo] ()
diff --git a/testing/009/class_bug.xml b/testing/009/class_bug.xml
index f972b4a..056b405 100644
--- a/testing/009/class_bug.xml
+++ b/testing/009/class_bug.xml
@@ -32,7 +32,7 @@
-
+
Bug
diff --git a/testing/009/class_deprecated.xml b/testing/009/class_deprecated.xml
index 061bb34..32c9ea6 100644
--- a/testing/009/class_deprecated.xml
+++ b/testing/009/class_deprecated.xml
@@ -30,7 +30,7 @@
-
+
Deprecated
diff --git a/testing/009/class_reminder.xml b/testing/009/class_reminder.xml
index bdf2ee0..9bfb4fc 100644
--- a/testing/009/class_reminder.xml
+++ b/testing/009/class_reminder.xml
@@ -37,7 +37,7 @@
-
+
Reminder
diff --git a/testing/009/class_test.xml b/testing/009/class_test.xml
index 64f287f..a3792a4 100644
--- a/testing/009/class_test.xml
+++ b/testing/009/class_test.xml
@@ -37,7 +37,7 @@
-
+
Test
diff --git a/testing/009/class_todo.xml b/testing/009/class_todo.xml
index a4fed63..adb8b91 100644
--- a/testing/009/class_todo.xml
+++ b/testing/009/class_todo.xml
@@ -37,7 +37,7 @@
-
+
Todo
diff --git a/testing/009/deprecated.xml b/testing/009/deprecated.xml
index c3fc2a2..e4c5877 100644
--- a/testing/009/deprecated.xml
+++ b/testing/009/deprecated.xml
@@ -12,7 +12,7 @@
Class [Deprecated]
- This class is deprecated
+ This class is deprecated
Member [Deprecated::deprecated] ()
diff --git a/testing/009/reminders.xml b/testing/009/reminders.xml
index 4818541..6bbe18b 100644
--- a/testing/009/reminders.xml
+++ b/testing/009/reminders.xml
@@ -12,7 +12,7 @@
Class [Reminder]
- A reminder
+ A reminder
Member [Reminder::reminder] ()
diff --git a/testing/009/test.xml b/testing/009/test.xml
index 665dc0e..c8f104d 100644
--- a/testing/009/test.xml
+++ b/testing/009/test.xml
@@ -12,7 +12,7 @@
Class [Test]
- This is part of testing
+ This is part of testing
Member [Test::test] ()
diff --git a/testing/009/todo.xml b/testing/009/todo.xml
index c3b160f..b31ecae 100644
--- a/testing/009/todo.xml
+++ b/testing/009/todo.xml
@@ -12,7 +12,7 @@
Class [Todo]
- This still needs to be done.
+ This still needs to be done.
Member [Todo::todo] ()
diff --git a/testing/011/category_integer_07_arithmetic_08.xml b/testing/011/category_integer_07_arithmetic_08.xml
index 0705628..0d13751 100644
--- a/testing/011/category_integer_07_arithmetic_08.xml
+++ b/testing/011/category_integer_07_arithmetic_08.xml
@@ -45,7 +45,7 @@
A category
-
+
Integer(Arithmetic)
diff --git a/testing/011/interface_integer.xml b/testing/011/interface_integer.xml
index 21d71fd..7c56077 100644
--- a/testing/011/interface_integer.xml
+++ b/testing/011/interface_integer.xml
@@ -80,7 +80,7 @@
-
+
Integer
diff --git a/testing/013/class_t1.xml b/testing/013/class_t1.xml
index ba91621..72fe36a 100644
--- a/testing/013/class_t1.xml
+++ b/testing/013/class_t1.xml
@@ -8,7 +8,7 @@
A class
-
+
diff --git a/testing/013/class_t2.xml b/testing/013/class_t2.xml
index 9df47e2..3679110 100644
--- a/testing/013/class_t2.xml
+++ b/testing/013/class_t2.xml
@@ -8,7 +8,7 @@
class [T2]
-
+
diff --git a/testing/013/class_t3.xml b/testing/013/class_t3.xml
index dc0cd3f..21f3b86 100644
--- a/testing/013/class_t3.xml
+++ b/testing/013/class_t3.xml
@@ -8,7 +8,7 @@
class [T3]
-
+
diff --git a/testing/013/class_t4.xml b/testing/013/class_t4.xml
index 52955d2..3a1013e 100644
--- a/testing/013/class_t4.xml
+++ b/testing/013/class_t4.xml
@@ -8,7 +8,7 @@
class [T4]
-
+
diff --git a/testing/018/018__def_8c.xml b/testing/018/018__def_8c.xml
index 837a85a..1bd3d79 100644
--- a/testing/018/018__def_8c.xml
+++ b/testing/018/018__def_8c.xml
@@ -41,7 +41,7 @@
-
+
diff --git a/testing/021/indexpage.xml b/testing/021/indexpage.xml
index 3ecbd0a..0647eeb 100644
--- a/testing/021/indexpage.xml
+++ b/testing/021/indexpage.xml
@@ -6,7 +6,7 @@
- Our main function starts like this: voidmain(){ First we create a object t of the [Test] class. [Test]t; Then we call the example member function t.[example](); After that our little test routine ends. }
+ Our main function starts like this: voidmain(){ First we create a object t of the [Test] class. [Test]t; Then we call the example member function t.[example](); After that our little test routine ends. }
diff --git a/testing/025/class_test.xml b/testing/025/class_test.xml
index 7438488..f7ab931 100644
--- a/testing/025/class_test.xml
+++ b/testing/025/class_test.xml
@@ -25,7 +25,7 @@
More details about this class.
-
+
Test
diff --git a/testing/026/class_test.xml b/testing/026/class_test.xml
index 469ba7c..d9a0aba 100644
--- a/testing/026/class_test.xml
+++ b/testing/026/class_test.xml
@@ -41,7 +41,7 @@
A [Test] class. More details about this class. TA template parameter.
-
+
Test
diff --git a/testing/027/struct_car.xml b/testing/027/struct_car.xml
index b3d9894..c90017a 100644
--- a/testing/027/struct_car.xml
+++ b/testing/027/struct_car.xml
@@ -68,7 +68,7 @@
-
+
Car
diff --git a/testing/027/struct_object.xml b/testing/027/struct_object.xml
index 754906e..807b0c1 100644
--- a/testing/027/struct_object.xml
+++ b/testing/027/struct_object.xml
@@ -86,7 +86,7 @@
-
+
Object
diff --git a/testing/027/struct_truck.xml b/testing/027/struct_truck.xml
index 0da26dc..b25c20b 100644
--- a/testing/027/struct_truck.xml
+++ b/testing/027/struct_truck.xml
@@ -68,7 +68,7 @@
-
+
Truck
diff --git a/testing/027/struct_vehicle.xml b/testing/027/struct_vehicle.xml
index 40c2be2..bab901d 100644
--- a/testing/027/struct_vehicle.xml
+++ b/testing/027/struct_vehicle.xml
@@ -105,7 +105,7 @@
-
+
Vehicle
diff --git a/testing/037/class_receiver.xml b/testing/037/class_receiver.xml
index 21156d7..24e82fd 100644
--- a/testing/037/class_receiver.xml
+++ b/testing/037/class_receiver.xml
@@ -32,7 +32,7 @@
-
+
Receiver
diff --git a/testing/037/class_sender.xml b/testing/037/class_sender.xml
index 53ba04e..525ab0a 100644
--- a/testing/037/class_sender.xml
+++ b/testing/037/class_sender.xml
@@ -32,7 +32,7 @@
-
+
Sender
diff --git a/testing/039/class_test.xml b/testing/039/class_test.xml
index ca7ff62..aa409f5 100644
--- a/testing/039/class_test.xml
+++ b/testing/039/class_test.xml
@@ -55,7 +55,7 @@
More details about this class.
-
+
Test
diff --git a/testing/040/namespace_n_s.xml b/testing/040/namespace_n_s.xml
index 64beb23..7e93ed0 100644
--- a/testing/040/namespace_n_s.xml
+++ b/testing/040/namespace_n_s.xml
@@ -7,6 +7,6 @@
A namespace
-
+
diff --git a/testing/041/class_test.xml b/testing/041/class_test.xml
index c4c1d9c..568f4c3 100644
--- a/testing/041/class_test.xml
+++ b/testing/041/class_test.xml
@@ -81,7 +81,7 @@
More text.
-
+
Test
diff --git a/testing/044/struct_s.xml b/testing/044/struct_s.xml
index 7214f29..b661a85 100644
--- a/testing/044/struct_s.xml
+++ b/testing/044/struct_s.xml
@@ -98,7 +98,7 @@
A struct
-
+
S
diff --git a/testing/046/class_test.xml b/testing/046/class_test.xml
index 0a9f22c..4885fb1 100644
--- a/testing/046/class_test.xml
+++ b/testing/046/class_test.xml
@@ -61,7 +61,7 @@
A test class [Test::method()]
-
+
Test
diff --git a/testing/064/struct_foo.xml b/testing/064/struct_foo.xml
index d9e2486..a1a5ba0 100644
--- a/testing/064/struct_foo.xml
+++ b/testing/064/struct_foo.xml
@@ -97,7 +97,7 @@
-
+
Foo
diff --git a/testing/066/class_class1.xml b/testing/066/class_class1.xml
index ccc412e..9f01b20 100644
--- a/testing/066/class_class1.xml
+++ b/testing/066/class_class1.xml
@@ -38,7 +38,7 @@
-
+
Class1
diff --git a/testing/071/namespace_a_namespace_1_1_0d0.xml b/testing/071/namespace_a_namespace_1_1_0d0.xml
index d439723..1eca472 100644
--- a/testing/071/namespace_a_namespace_1_1_0d0.xml
+++ b/testing/071/namespace_a_namespace_1_1_0d0.xml
@@ -33,13 +33,13 @@
-
+
-
+
diff --git a/testing/073/073__typed__enum_8cpp.xml b/testing/073/073__typed__enum_8cpp.xml
index b0b2014..9dda417 100644
--- a/testing/073/073__typed__enum_8cpp.xml
+++ b/testing/073/073__typed__enum_8cpp.xml
@@ -13,7 +13,7 @@
-
+
diff --git a/testing/074/namespacens.xml b/testing/074/namespacens.xml
index 0ee93fc..7b5d861 100644
--- a/testing/074/namespacens.xml
+++ b/testing/074/namespacens.xml
@@ -76,6 +76,6 @@
-
+
diff --git a/testing/074/struct_foo.xml b/testing/074/struct_foo.xml
index bf9c426..81499d9 100644
--- a/testing/074/struct_foo.xml
+++ b/testing/074/struct_foo.xml
@@ -243,7 +243,7 @@
-
+
Foo
diff --git a/testing/075/struct_foo.xml b/testing/075/struct_foo.xml
index 53ed0a8..9b859b5 100644
--- a/testing/075/struct_foo.xml
+++ b/testing/075/struct_foo.xml
@@ -117,7 +117,7 @@
-
+
Foo
diff --git a/testing/078/078__xml__namespace__members__in__file__scope_8h.xml b/testing/078/078__xml__namespace__members__in__file__scope_8h.xml
index 1198549..263df18 100644
--- a/testing/078/078__xml__namespace__members__in__file__scope_8h.xml
+++ b/testing/078/078__xml__namespace__members__in__file__scope_8h.xml
@@ -14,7 +14,7 @@
-
+
diff --git a/testing/080/class_interface.xml b/testing/080/class_interface.xml
index 2ee4379..5fdb043 100644
--- a/testing/080/class_interface.xml
+++ b/testing/080/class_interface.xml
@@ -83,7 +83,7 @@
-
+
Interface
diff --git a/testing/082/namespace_n.xml b/testing/082/namespace_n.xml
index 9f39bd1..9ceaeb9 100644
--- a/testing/082/namespace_n.xml
+++ b/testing/082/namespace_n.xml
@@ -45,6 +45,6 @@
Namespace
-
+
diff --git a/testing/083/namespace_n.xml b/testing/083/namespace_n.xml
index 2b41072..a44864d 100644
--- a/testing/083/namespace_n.xml
+++ b/testing/083/namespace_n.xml
@@ -45,6 +45,6 @@
Namespace
-
+
diff --git a/testing/085/085__tooltip_8cpp.xml b/testing/085/085__tooltip_8cpp.xml
index f9859d9..84f781d 100644
--- a/testing/085/085__tooltip_8cpp.xml
+++ b/testing/085/085__tooltip_8cpp.xml
@@ -11,7 +11,7 @@
mod
- if (([unit] = fopen(fn, mod)) == NULL) \
+ if (([unit] = fopen(fn, mod)) == NULL) \
{ \
msg(OPEN_ERR,strerror(errno)); \
}
@@ -26,7 +26,7 @@
FCLOSE_MACRO
- if (fclose([unit]) != 0) \
+ if (fclose([unit]) != 0) \
{ \
msg(CLOSE_ERR,strerror(errno)); \
}
--
cgit v0.12