Skip to content

Commit e0e5a04

Browse files
authored
Fix #14931: dump file: Add classDef to scope (#8747)
1 parent 4ba79f2 commit e0e5a04

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

lib/symboldatabase.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4457,6 +4457,11 @@ void SymbolDatabase::printXml(std::ostream &out) const
44574457
outs += ErrorLogger::toxml(scope->className);
44584458
outs += "\"";
44594459
}
4460+
if (scope->classDef) {
4461+
outs += " classDef=\"";
4462+
outs += id_string(scope->classDef);
4463+
outs += "\"";
4464+
}
44604465
if (scope->bodyStart) {
44614466
outs += " bodyStart=\"";
44624467
outs += id_string(scope->bodyStart);

0 commit comments

Comments
 (0)