diff options
author | Nowar Gu <nowar100@gmail.com> | 2011-06-17 14:29:24 +0800 |
---|---|---|
committer | Nowar Gu <nowar100@gmail.com> | 2011-06-20 15:49:07 +0800 |
commit | 907af0f20f58f2ea26da7ea64e1f094cd6880db7 (patch) | |
tree | 02007757de416c561df174d582205cebfa582801 /include/llvm/Support/CommandLine.h | |
parent | 1d4f9a57447faa0142a1d0301e5ce550cfe60c4f (diff) | |
parent | ec324e5ae44025c6bdb930b78198f30f807e355b (diff) | |
download | external_llvm-907af0f20f58f2ea26da7ea64e1f094cd6880db7.zip external_llvm-907af0f20f58f2ea26da7ea64e1f094cd6880db7.tar.gz external_llvm-907af0f20f58f2ea26da7ea64e1f094cd6880db7.tar.bz2 |
Merge upstream to r133240 at Fri. 17th Jun 2011.
Conflicts:
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/Target/ARM/ARMCodeEmitter.cpp
Diffstat (limited to 'include/llvm/Support/CommandLine.h')
-rw-r--r-- | include/llvm/Support/CommandLine.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h index c57d7dd..d609871 100644 --- a/include/llvm/Support/CommandLine.h +++ b/include/llvm/Support/CommandLine.h @@ -334,11 +334,11 @@ struct OptionValueBase : public GenericOptionValue { // Some options may take their value from a different data type. template<class DT> - void setValue(const DT& V) {} + void setValue(const DT& /*V*/) {} - bool compare(const DataType &V) const { return false; } + bool compare(const DataType &/*V*/) const { return false; } - virtual bool compare(const GenericOptionValue& V) const { return false; } + virtual bool compare(const GenericOptionValue& /*V*/) const { return false; } }; // Simple copy of the option value. @@ -904,8 +904,8 @@ void printOptionDiff(const Option &O, const generic_parser_base &P, const DT &V, // type than the option value. e.g. HelpPrinter. template<class ParserDT, class ValDT> struct OptionDiffPrinter { - void print(const Option &O, const parser<ParserDT> P, const ValDT &V, - const OptionValue<ValDT> &Default, size_t GlobalWidth) { + void print(const Option &O, const parser<ParserDT> P, const ValDT &/*V*/, + const OptionValue<ValDT> &/*Default*/, size_t GlobalWidth) { P.printOptionNoValue(O, GlobalWidth); } }; @@ -1287,7 +1287,7 @@ class list : public Option, public list_storage<DataType, Storage> { } // Unimplemented: list options don't currently store their default value. - virtual void printOptionValue(size_t GlobalWidth, bool Force) const {} + virtual void printOptionValue(size_t /*GlobalWidth*/, bool /*Force*/) const {} void done() { addArgument(); @@ -1489,7 +1489,7 @@ class bits : public Option, public bits_storage<DataType, Storage> { } // Unimplemented: bits options don't currently store their default values. - virtual void printOptionValue(size_t GlobalWidth, bool Force) const {} + virtual void printOptionValue(size_t /*GlobalWidth*/, bool /*Force*/) const {} void done() { addArgument(); @@ -1583,7 +1583,7 @@ class alias : public Option { virtual void printOptionInfo(size_t GlobalWidth) const; // Aliases do not need to print their values. - virtual void printOptionValue(size_t GlobalWidth, bool Force) const {} + virtual void printOptionValue(size_t /*GlobalWidth*/, bool /*Force*/) const {} void done() { if (!hasArgStr()) |