[PATCH] D146075: [flang][driver][openmp] Write MLIR for -save-temps
Thorsten via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 15 10:27:55 PDT 2023
tschuett added a comment.
Frontend is in the file name.
================
Comment at: flang/lib/Frontend/FrontendActions.cpp:79
+ llvm::StringRef inputFile, llvm::StringRef outputTag) {
+ if (!ci.getCodeGenOpts().SaveTempsDir.has_value()) {
+ return true;
----------------
useless braces
================
Comment at: flang/lib/Frontend/FrontendActions.cpp:91
+
+ if (llvm::sys::fs::is_directory(outDir)) {
+ outDir.append("/");
----------------
useless braces
================
Comment at: flang/lib/Frontend/FrontendActions.cpp:106
+ llvm::ToolOutputFile out(outDir + outFile, ec, llvm::sys::fs::OF_Text);
+ if (ec) {
+ return false;
----------------
useless braces
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146075/new/
https://reviews.llvm.org/D146075
More information about the cfe-commits
mailing list