diff --git a/llvm/include/llvm/ADT/Bitfields.h b/llvm/include/llvm/ADT/Bitfields.h --- a/llvm/include/llvm/ADT/Bitfields.h +++ b/llvm/include/llvm/ADT/Bitfields.h @@ -119,7 +119,7 @@ /// The `pack` method also checks that the passed in `UserValue` is valid. template ::value> struct Compressor { - static_assert(std::is_unsigned::value, "T is unsigned"); + static_assert(std::is_unsigned::value, "T must be unsigned"); using BP = BitPatterns; static T pack(T UserValue, T UserMaxValue) { @@ -132,7 +132,7 @@ }; template struct Compressor { - static_assert(std::is_signed::value, "T is signed"); + static_assert(std::is_signed::value, "T must be signed"); using BP = BitPatterns; static T pack(T UserValue, T UserMaxValue) {