From 9780608ed9e6ae35d90e54cc04aaa8dac2a62cb1 Mon Sep 17 00:00:00 2001 From: Jiahan Xie Date: Thu, 5 Dec 2024 14:13:38 -0500 Subject: [PATCH] use path to string to (hopefully) fix windows failured test --- lib/Conversion/SCFToCalyx/SCFToCalyx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Conversion/SCFToCalyx/SCFToCalyx.cpp b/lib/Conversion/SCFToCalyx/SCFToCalyx.cpp index a19029255843..6ef0da7e0a68 100644 --- a/lib/Conversion/SCFToCalyx/SCFToCalyx.cpp +++ b/lib/Conversion/SCFToCalyx/SCFToCalyx.cpp @@ -330,7 +330,7 @@ class BuildOpGroups : public calyx::FuncOpPartialLoweringPattern { std::ofstream outFile(outFileName); if (!outFile.is_open()) { - llvm::errs() << "Unable to open file: " << outFileName + llvm::errs() << "Unable to open file: " << outFileName.string() << " for writing\n"; return failure(); }