mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[llvm] Remove full stop frome error message
Address post-commit feedback from James Henderson in D80959.
This commit is contained in:
parent
99a2bb02c2
commit
30a3e58d7c
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user