We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 328cc7b commit 1e5eab8Copy full SHA for 1e5eab8
1 file changed
lib/symboldatabase.cpp
@@ -2116,9 +2116,11 @@ void SymbolDatabase::printXml(std::ostream &out) const
2116
out << " classEnd=\"" << scope->classEnd << '\"';
2117
if (scope->nestedIn)
2118
out << " nestedIn=\"" << scope->nestedIn << "\"";
2119
- if (scope->functionList.empty() && scope->varlist.empty()) {
+ if (scope->function)
2120
+ out << " function=\"" << scope->function << "\"";
2121
+ if (scope->functionList.empty() && scope->varlist.empty())
2122
out << "/>" << std::endl;
- } else {
2123
+ else {
2124
out << '>' << std::endl;
2125
if (!scope->functionList.empty()) {
2126
out << " <functionList>" << std::endl;
0 commit comments