[lld] r284625 - Remove ending "." from an error message.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 19 11:09:53 PDT 2016


Author: ruiu
Date: Wed Oct 19 13:09:52 2016
New Revision: 284625

URL: http://llvm.org/viewvc/llvm-project?rev=284625&view=rev
Log:
Remove ending "." from an error message.

Other error messages don't end with ".".

Modified:
    lld/trunk/ELF/Driver.cpp
    lld/trunk/test/ELF/basic.s

Modified: lld/trunk/ELF/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Driver.cpp?rev=284625&r1=284624&r2=284625&view=diff
==============================================================================
--- lld/trunk/ELF/Driver.cpp (original)
+++ lld/trunk/ELF/Driver.cpp Wed Oct 19 13:09:52 2016
@@ -630,7 +630,7 @@ void LinkerDriver::createFiles(opt::Inpu
   }
 
   if (Files.empty() && !HasError)
-    error("no input files.");
+    error("no input files");
 
   // If -m <machine_type> was not given, infer it from object files.
   if (Config->EKind == ELFNoneKind) {

Modified: lld/trunk/test/ELF/basic.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/basic.s?rev=284625&r1=284624&r2=284625&view=diff
==============================================================================
--- lld/trunk/test/ELF/basic.s (original)
+++ lld/trunk/test/ELF/basic.s Wed Oct 19 13:09:52 2016
@@ -207,7 +207,7 @@ _start:
 
 # RUN: not ld.lld -o %t2 2>&1 | \
 # RUN:  FileCheck --check-prefix=NO_INPUT %s
-# NO_INPUT: no input files.
+# NO_INPUT: no input files
 
 # RUN: not ld.lld %t.no.such.file -o %t2 2>&1 | \
 # RUN:  FileCheck --check-prefix=CANNOT_OPEN %s




More information about the llvm-commits mailing list