[llvm] Remove full stop frome error message
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 24 Jun 2020 16:40:44 +0000 (09:40 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 24 Jun 2020 16:41:17 +0000 (09:41 -0700)
Address post-commit feedback from James Henderson in D80959.

llvm/test/tools/llvm-dwarfdump/cmdline.test
llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp

index 9bf796f..5c7b998 100644 (file)
@@ -35,4 +35,4 @@ RUN: llvm-dwarfdump -diff -verbose 2>&1 | FileCheck --check-prefix=INCOMPATIBLE
 INCOMPATIBLE: error: incompatible arguments: specifying both -diff and -verbose is currently not supported
 
 RUN: not llvm-dwarfdump --debug-names=0x0 2>&1 | FileCheck --check-prefix=FLAG %s
-FLAG: for the --debug-names option: this is a flag and does not take a value.
+FLAG: for the --debug-names option: this is a flag and does not take a value
index 47e426b..d8fa4f9 100644 (file)
@@ -63,7 +63,7 @@ public:
       return false;
     }
     if (Arg.getAsInteger(0, Val.Val))
-      return O.error("'" + Arg + "' value invalid for integer argument!");
+      return O.error("'" + Arg + "' value invalid for integer argument");
     Val.HasValue = true;
     Val.IsRequested = true;
     return false;
@@ -89,7 +89,7 @@ public:
   /// Return true on error.
   bool parse(Option &O, StringRef ArgName, StringRef Arg, BoolOption &Val) {
     if (Arg != "")
-      return O.error("this is a flag and does not take a value.");
+      return O.error("this is a flag and does not take a value");
     Val.Val = 0;
     Val.HasValue = false;
     Val.IsRequested = true;