From 49ce02fd0ca0f2ac7b2b2dab7eff4751b1fc360b Mon Sep 17 00:00:00 2001 From: olabetskyi <153490942+olabetskyi@users.noreply.github.com> Date: Mon, 19 Feb 2024 18:15:50 +0200 Subject: [PATCH] Fix #12449: dump file: Add "isOperator" and "isExplicit" to Function (#5990) --- lib/symboldatabase.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/symboldatabase.cpp b/lib/symboldatabase.cpp index 6cd1d519454..a14b78e7015 100644 --- a/lib/symboldatabase.cpp +++ b/lib/symboldatabase.cpp @@ -4281,6 +4281,10 @@ void SymbolDatabase::printXml(std::ostream &out) const outs += accessControlToString(function->access); outs +="\""; } + if (function->isOperator()) + outs += " isOperator=\"true\""; + if (function->isExplicit()) + outs += " isExplicit=\"true\""; if (function->hasOverrideSpecifier()) outs += " hasOverrideSpecifier=\"true\""; if (function->hasFinalSpecifier())