dump: Add Function::isAttributeNoreturn info

This commit is contained in:
Daniel Marjamäki 2022-09-03 12:09:20 +02:00
parent 77e32f457a
commit 9306c6f329
1 changed files with 2 additions and 0 deletions

View File

@ -3926,6 +3926,8 @@ void SymbolDatabase::printXml(std::ostream &out) const
out << " isInlineKeyword=\"true\""; out << " isInlineKeyword=\"true\"";
if (function->isStatic()) if (function->isStatic())
out << " isStatic=\"true\""; out << " isStatic=\"true\"";
if (function->isAttributeNoreturn())
out << " isAttributeNoreturn=\"true\"";
if (const Function* overriddenFunction = function->getOverriddenFunction()) if (const Function* overriddenFunction = function->getOverriddenFunction())
out << " overriddenFunction=\"" << overriddenFunction << "\""; out << " overriddenFunction=\"" << overriddenFunction << "\"";
if (function->argCount() == 0U) if (function->argCount() == 0U)