================
@@ -43,21 +43,21 @@ void
ClangTidyProfiling::printUserFriendlyTable(llvm::raw_ostream &OS,
}
void ClangTidyProfiling::printAsJSON(llvm::raw_ostream &OS,
- llvm::TimerGroup &TG) {
+ llvm::TimerGroup &TG,
+ const StorageParams &Storage) {
OS << "{\n";
- OS << R"("file": ")" << Storage->SourceFilename << "\",\n";
- OS << R"("timestamp": ")" << Storage->Timestamp << "\",\n";
+ OS << R"("file": ")" << Storage.SourceFilename << "\",\n";
+ OS << R"("timestamp": ")" << Storage.Timestamp << "\",\n";
OS << "\"profile\": {\n";
TG.printJSONValues(OS, "");
OS << "\n}\n";
OS << "}\n";
OS.flush();
}
-void ClangTidyProfiling::storeProfileData(llvm::TimerGroup &TG) {
- assert(Storage && "We should have a filename.");
----------------
zeyi2 wrote:
Will fix soon.
https://github.com/llvm/llvm-project/pull/170004
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits