diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/IR/Metadata.h | 4 | ||||
| -rw-r--r-- | llvm/include/llvm/IR/User.h | 2 | ||||
| -rw-r--r-- | llvm/include/llvm/Support/CommandLine.h | 2 | 
3 files changed, 4 insertions, 4 deletions
diff --git a/llvm/include/llvm/IR/Metadata.h b/llvm/include/llvm/IR/Metadata.h index 5c95a98473e..26302109ff0 100644 --- a/llvm/include/llvm/IR/Metadata.h +++ b/llvm/include/llvm/IR/Metadata.h @@ -914,13 +914,13 @@ private:      N->recalculateHash();    }    template <class NodeTy> -  static void dispatchRecalculateHash(NodeTy *N, std::false_type) {} +  static void dispatchRecalculateHash(NodeTy *, std::false_type) {}    template <class NodeTy>    static void dispatchResetHash(NodeTy *N, std::true_type) {      N->setHash(0);    }    template <class NodeTy> -  static void dispatchResetHash(NodeTy *N, std::false_type) {} +  static void dispatchResetHash(NodeTy *, std::false_type) {}  public:    typedef const MDOperand *op_iterator; diff --git a/llvm/include/llvm/IR/User.h b/llvm/include/llvm/IR/User.h index d9ea04ac701..78a3b43c86d 100644 --- a/llvm/include/llvm/IR/User.h +++ b/llvm/include/llvm/IR/User.h @@ -65,7 +65,7 @@ protected:    /// This is used for subclasses which have a fixed number of operands.    void *operator new(size_t Size, unsigned Us, unsigned DescBytes); -  User(Type *ty, unsigned vty, Use *OpList, unsigned NumOps) +  User(Type *ty, unsigned vty, Use *, unsigned NumOps)        : Value(ty, vty) {      assert(NumOps < (1u << NumUserOperandsBits) && "Too many operands");      NumUserOperands = NumOps; diff --git a/llvm/include/llvm/Support/CommandLine.h b/llvm/include/llvm/Support/CommandLine.h index 467dc128aea..30a3d9a4713 100644 --- a/llvm/include/llvm/Support/CommandLine.h +++ b/llvm/include/llvm/Support/CommandLine.h @@ -714,7 +714,7 @@ public:  //  class basic_parser_impl { // non-template implementation of basic_parser<t>  public: -  basic_parser_impl(Option &O) {} +  basic_parser_impl(Option &) {}    enum ValueExpected getValueExpectedFlagDefault() const {  | 

