We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d485317 commit 5375009Copy full SHA for 5375009
llvm/include/llvm/Support/CommandLine.h
@@ -878,7 +878,7 @@ template <class DataType> class parser : public generic_parser_base {
878
void addLiteralOption(StringRef Name, const DT &V, StringRef HelpStr) {
879
#ifndef NDEBUG
880
if (findOption(Name) != Values.size())
881
- report_fatal_error("Option " + Name + " already exists!");
+ report_fatal_error("Option '" + Name + "' already exists!");
882
#endif
883
OptionInfo X(Name, static_cast<DataType>(V), HelpStr);
884
Values.push_back(X);
0 commit comments