From 39731170341ed250f9026832563fe1ab67ecc7bd Mon Sep 17 00:00:00 2001 From: glank Date: Wed, 22 Jul 2026 16:48:24 +0200 Subject: [PATCH] Add classDef to scope in dump file --- lib/symboldatabase.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/symboldatabase.cpp b/lib/symboldatabase.cpp index b687c9f77a4..0c3587a5ba7 100644 --- a/lib/symboldatabase.cpp +++ b/lib/symboldatabase.cpp @@ -4451,6 +4451,11 @@ void SymbolDatabase::printXml(std::ostream &out) const outs += ErrorLogger::toxml(scope->className); outs += "\""; } + if (scope->classDef) { + outs += " classDef=\""; + outs += id_string(scope->classDef); + outs += "\""; + } if (scope->bodyStart) { outs += " bodyStart=\""; outs += id_string(scope->bodyStart);