diff options
| author | George Rimar <grimar@accesssoftek.com> | 2016-03-11 14:43:02 +0000 |
|---|---|---|
| committer | George Rimar <grimar@accesssoftek.com> | 2016-03-11 14:43:02 +0000 |
| commit | 5761042db741891979a28569cfae0f5c3c6ce924 (patch) | |
| tree | 8b8910ff1d4c9e1694114561301d6312937bf699 /lld/ELF/Driver.cpp | |
| parent | 7ca9614c71a16d1d30c8fcf6f18e6255b965cc07 (diff) | |
| download | bcm5719-llvm-5761042db741891979a28569cfae0f5c3c6ce924.tar.gz bcm5719-llvm-5761042db741891979a28569cfae0f5c3c6ce924.zip | |
This reverts the r263125
It was discussed to make all messages be
lowercase to be consistent with clang.
(also reverts the r263128 which fixed
build bot fail after r263125)
Original commit message:
[ELF] - Consistent spelling for error/warning messages
Previously error and warnings were not consistent in lld.
Some of them started from lowercase letter, others from
uppercase. Also there was one or two which had a dot at the end.
This patch changes all messages to start from uppercase letter if
they were not before.
Differential revision: http://reviews.llvm.org/D18045
llvm-svn: 263240
Diffstat (limited to 'lld/ELF/Driver.cpp')
| -rw-r--r-- | lld/ELF/Driver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/Driver.cpp b/lld/ELF/Driver.cpp index a010b399f2c..2fd24e4b77a 100644 --- a/lld/ELF/Driver.cpp +++ b/lld/ELF/Driver.cpp @@ -92,7 +92,7 @@ void LinkerDriver::addFile(StringRef Path) { using namespace llvm::sys::fs; log(Path); auto MBOrErr = MemoryBuffer::getFile(Path); - if (error(MBOrErr, "Cannot open " + Path)) + if (error(MBOrErr, "cannot open " + Path)) return; std::unique_ptr<MemoryBuffer> &MB = *MBOrErr; MemoryBufferRef MBRef = MB->getMemBufferRef(); @@ -312,7 +312,7 @@ void LinkerDriver::createFiles(opt::InputArgList &Args) { } if (Files.empty() && !HasError) - error("No input files"); + error("no input files."); } template <class ELFT> static void initSymbols() { |

