Skip to content

Commit

Permalink
chore: update formating
Browse files Browse the repository at this point in the history
  • Loading branch information
lievenhey committed May 16, 2024
1 parent f63d01f commit f437e74
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions src/models/data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -411,21 +411,28 @@ void Data::callerCalleesFromBottomUpData(const BottomUpResults& bottomUpData, Ca

QDebug Data::operator<<(QDebug stream, const Symbol& symbol)
{
stream.noquote().nospace() << "Symbol{" << "symbol=" << symbol.symbol << ", " << "relAddr=" << symbol.relAddr
<< ", " << "size=" << symbol.size << ", " << "binary=" << symbol.binary << "}";
stream.noquote().nospace() << "Symbol{"
<< "symbol=" << symbol.symbol << ", "
<< "relAddr=" << symbol.relAddr << ", "
<< "size=" << symbol.size << ", "
<< "binary=" << symbol.binary << "}";
return stream.resetFormat().space();
}

QDebug Data::operator<<(QDebug stream, const FileLine& fileLine)
{
stream.noquote().nospace() << "FileLine{" << "file=" << fileLine.file << ", " << "line=" << fileLine.line << "}";
stream.noquote().nospace() << "FileLine{"
<< "file=" << fileLine.file << ", "
<< "line=" << fileLine.line << "}";
return stream.resetFormat().space();
}

QDebug Data::operator<<(QDebug stream, const Location& location)
{
stream.noquote().nospace() << "Location{" << "address=" << location.address << ", "
<< "relAddr=" << location.relAddr << ", " << "fileLine=" << location.fileLine << "}";
stream.noquote().nospace() << "Location{"
<< "address=" << location.address << ", "
<< "relAddr=" << location.relAddr << ", "
<< "fileLine=" << location.fileLine << "}";
return stream.resetFormat().space();
}

Expand All @@ -441,9 +448,10 @@ QDebug Data::operator<<(QDebug stream, const ItemCost& cost)

QDebug Data::operator<<(QDebug stream, const CostSummary& cost)
{
stream.noquote().nospace() << "CostSummary{" << "label = " << cost.label << ", "
<< "sampleCount = " << cost.sampleCount << ", " << "totalPeriod = " << cost.totalPeriod
<< "}";
stream.noquote().nospace() << "CostSummary{"
<< "label = " << cost.label << ", "
<< "sampleCount = " << cost.sampleCount << ", "
<< "totalPeriod = " << cost.totalPeriod << "}";
return stream.resetFormat().space();
}

Expand Down

0 comments on commit f437e74

Please sign in to comment.