[PATCH] D100036: [SystemZ][z/OS][TableGen] TableGen files should be text
Abhina Sree via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 7 08:23:12 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG1bcf58b2136d: [SystemZ][z/OS][TableGen] TableGen files should be text (authored by abhina.sreeskantharajan).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100036/new/
https://reviews.llvm.org/D100036
Files:
llvm/lib/TableGen/Main.cpp
Index: llvm/lib/TableGen/Main.cpp
===================================================================
--- llvm/lib/TableGen/Main.cpp
+++ llvm/lib/TableGen/Main.cpp
@@ -93,7 +93,7 @@
Records.startTimer("Parse, build records");
ErrorOr<std::unique_ptr<MemoryBuffer>> FileOrErr =
- MemoryBuffer::getFileOrSTDIN(InputFilename, /*IsText=*/false);
+ MemoryBuffer::getFileOrSTDIN(InputFilename, /*IsText=*/true);
if (std::error_code EC = FileOrErr.getError())
return reportError(argv0, "Could not open input file '" + InputFilename +
"': " + EC.message() + "\n");
@@ -138,7 +138,7 @@
// This prevents recompilation of all the files depending on it if there
// aren't any.
if (auto ExistingOrErr =
- MemoryBuffer::getFile(OutputFilename, /*IsText=*/false))
+ MemoryBuffer::getFile(OutputFilename, /*IsText=*/true))
if (std::move(ExistingOrErr.get())->getBuffer() == Out.str())
WriteFile = false;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100036.335816.patch
Type: text/x-patch
Size: 1007 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210407/24cc0d2b/attachment.bin>
More information about the llvm-commits
mailing list