Skip to content

Commit 553dcdf

Browse files
authored
Merge pull request #46 from MetanoKid/remove-decorated-function-name
Removes raw decorated function name from Function Compilations report
2 parents 6159824 + 495f399 commit 553dcdf

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/AnalysisExporter/FunctionCompilations/FunctionCompilationsExporter.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ bool FunctionCompilationsExporter::ExportTo(const std::string& path) const
8484
});
8585

8686
// write data header to stream
87-
out << "Decorated function name" << ";"
88-
<< "Undecorated function name" << ";"
87+
out << "Undecorated function name" << ";"
8988
<< "Average elapsed time (nanoseconds)" << ";"
9089
<< "Minimum elapsed time (nanoseconds)" << ";"
9190
<< "Maximum elapsed time (nanoseconds)" << ";"
@@ -96,8 +95,7 @@ bool FunctionCompilationsExporter::ExportTo(const std::string& path) const
9695
for (auto&& data : dataPerFunction)
9796
{
9897
// dump to stream
99-
out << (*data.FunctionName) << ";"
100-
<< Utilities::CppBuildInsightsDataConversion::UndecorateFunction(*data.FunctionName) << ";"
98+
out << Utilities::CppBuildInsightsDataConversion::UndecorateFunction(*data.FunctionName) << ";"
10199
<< data.AverageCompilationTime.count() << ";"
102100
<< data.MinimumCompilationTime.count() << ";"
103101
<< data.MaximumCompilationTime.count() << ";"

0 commit comments

Comments
 (0)