Index: llvm/include/llvm/ADT/DenseMapInfo.h =================================================================== --- llvm/include/llvm/ADT/DenseMapInfo.h +++ llvm/include/llvm/ADT/DenseMapInfo.h @@ -258,7 +258,7 @@ } template - static unsigned getHashValueImpl(const Tuple &values, std::true_type) { + static unsigned getHashValueImpl(const Tuple &, std::true_type) { return 0; } @@ -276,7 +276,7 @@ } template - static bool isEqualImpl(const Tuple &lhs, const Tuple &rhs, std::true_type) { + static bool isEqualImpl(const Tuple &, const Tuple &, std::true_type) { return true; } Index: llvm/include/llvm/ADT/Hashing.h =================================================================== --- llvm/include/llvm/ADT/Hashing.h +++ llvm/include/llvm/ADT/Hashing.h @@ -656,7 +656,7 @@ template hash_code hash_value_tuple_helper(const std::tuple &arg, - std::index_sequence indices) { + std::index_sequence) { return hash_combine(std::get(arg)...); } Index: llvm/include/llvm/ADT/Optional.h =================================================================== --- llvm/include/llvm/ADT/Optional.h +++ llvm/include/llvm/ADT/Optional.h @@ -381,7 +381,7 @@ return X != None; } -template constexpr bool operator<(const Optional &X, NoneType) { +template constexpr bool operator<(const Optional &, NoneType) { return false; } Index: llvm/include/llvm/Support/MathExtras.h =================================================================== --- llvm/include/llvm/Support/MathExtras.h +++ llvm/include/llvm/Support/MathExtras.h @@ -398,7 +398,7 @@ return X < (UINT64_C(1) << (N)); } template -constexpr inline std::enable_if_t= 64, bool> isUInt(uint64_t X) { +constexpr inline std::enable_if_t= 64, bool> isUInt(uint64_t) { return true; }