llvm.org GIT mirror llvm / eab6313
Comment out some unused parameter names to silence out-of-tree -Wunused warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129988 91177308-0d34-0410-b5e6-96231b3b80d8 Frits van Bommel 9 years ago
1 changed file(s) with 10 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
333333
334334 // Some options may take their value from a different data type.
335335 template
336 void setValue(const DT& V) {}
337
338 bool compare(const DataType &V) const { return false; }
339
340 virtual bool compare(const GenericOptionValue& V) const { return false; }
336 void setValue(const DT& /*V*/) {}
337
338 bool compare(const DataType &/*V*/) const { return false; }
339
340 virtual bool compare(const GenericOptionValue& /*V*/) const { return false; }
341341 };
342342
343343 // Simple copy of the option value.
903903 // type than the option value. e.g. HelpPrinter.
904904 template
905905 struct OptionDiffPrinter {
906 void print(const Option &O, const parser P, const ValDT &V,
907 const OptionValue &Default, size_t GlobalWidth) {
906 void print(const Option &O, const parser P, const ValDT &/*V*/,
907 const OptionValue &/*Default*/, size_t GlobalWidth) {
908908 P.printOptionNoValue(O, GlobalWidth);
909909 }
910910 };
12861286 }
12871287
12881288 // Unimplemented: list options don't currently store their default value.
1289 virtual void printOptionValue(size_t GlobalWidth, bool Force) const {}
1289 virtual void printOptionValue(size_t /*GlobalWidth*/, bool /*Force*/) const {}
12901290
12911291 void done() {
12921292 addArgument();
14881488 }
14891489
14901490 // Unimplemented: bits options don't currently store their default values.
1491 virtual void printOptionValue(size_t GlobalWidth, bool Force) const {}
1491 virtual void printOptionValue(size_t /*GlobalWidth*/, bool /*Force*/) const {}
14921492
14931493 void done() {
14941494 addArgument();
15821582 virtual void printOptionInfo(size_t GlobalWidth) const;
15831583
15841584 // Aliases do not need to print their values.
1585 virtual void printOptionValue(size_t GlobalWidth, bool Force) const {}
1585 virtual void printOptionValue(size_t /*GlobalWidth*/, bool /*Force*/) const {}
15861586
15871587 void done() {
15881588 if (!hasArgStr())