[PATCH] D78578: [flang] Fix handling of files without terminating newlines.
Steve Scalpone via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 21 15:44:28 PDT 2020
sscalpone added inline comments.
================
Comment at: flang/lib/Parser/source.cpp:130
void SourceFile::ReadFile() {
if (buf_->getBuffer().size() == 0) {
Close();
----------------
Could you merge these two sections since they both deal with files that don't end with a newline character?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78578/new/
https://reviews.llvm.org/D78578
More information about the llvm-commits
mailing list