Remove ending "." from an error message.
authorRui Ueyama <ruiu@google.com>
Wed, 19 Oct 2016 18:09:52 +0000 (18:09 +0000)
committerRui Ueyama <ruiu@google.com>
Wed, 19 Oct 2016 18:09:52 +0000 (18:09 +0000)
Other error messages don't end with ".".

llvm-svn: 284625

lld/ELF/Driver.cpp
lld/test/ELF/basic.s

index db671f0..bbcd682 100644 (file)
@@ -630,7 +630,7 @@ void LinkerDriver::createFiles(opt::InputArgList &Args) {
   }
 
   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) {
index 69ff254..c326dd1 100644 (file)
@@ -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