@@ -229,7 +229,7 @@ void FunctionSamples::print(raw_ostream &OS, unsigned Indent) const {
229229 if (const TypeCountMap *TypeCountMap =
230230 this ->findCallsiteTypeSamplesAt (Loc)) {
231231 OS.indent (Indent + 2 );
232- printTypeCountMap (OS, Loc, *TypeCountMap);
232+ printTypeCountMap (OS, Loc, *TypeCountMap);
233233 }
234234 }
235235 OS.indent (Indent);
@@ -241,16 +241,15 @@ void FunctionSamples::print(raw_ostream &OS, unsigned Indent) const {
241241 OS.indent (Indent);
242242 if (!CallsiteSamples.empty ()) {
243243 OS << " Samples collected in inlined callsites {\n " ;
244- SampleSorter<LineLocation, FunctionSamplesMap> SortedCallsiteSamples (
244+ SampleSorter<LineLocation, FunctionSamplesMap> SortedCallsiteSamples (
245245 CallsiteSamples);
246246 for (const auto *Element : SortedCallsiteSamples.get ()) {
247247 // Element is a pointer to a pair of LineLocation and FunctionSamplesMap.
248248 const auto &[Loc, FunctionSampleMap] = *Element;
249249 for (const FunctionSamples &FuncSample :
250250 llvm::make_second_range (FunctionSampleMap)) {
251251 OS.indent (Indent + 2 );
252- OS << Loc << " : inlined callee: " << FuncSample.getFunction ()
253- << " : " ;
252+ OS << Loc << " : inlined callee: " << FuncSample.getFunction () << " : " ;
254253 FuncSample.print (OS, Indent + 4 );
255254 }
256255 auto TypeSamplesIter = VirtualCallsiteTypeCounts.find (Loc);
0 commit comments