[Support][NFC] Fix Wdocumentation warning in ADT/Bitfields.h

\tparam is used for template parameters instead of \param.
This commit is contained in:
Bruno Ricci 2020-07-06 22:37:30 +01:00
parent f7a7efbf88
commit 02946de380
No known key found for this signature in database
GPG Key ID: D58C906B2F684D92
1 changed files with 4 additions and 4 deletions

View File

@ -212,10 +212,10 @@ template <> struct ResolveUnderlyingType<bool, false> {
struct Bitfield {
/// Describes an element of a Bitfield. This type is then used with the
/// Bitfield static member functions.
/// \param T, the type of the field once in unpacked form,
/// \param Offset, the position of the first bit,
/// \param Size, the size of the field,
/// \param MaxValue, For enums the maximum enum allowed.
/// \tparam T The type of the field once in unpacked form.
/// \tparam Offset The position of the first bit.
/// \tparam Size The size of the field.
/// \tparam MaxValue For enums the maximum enum allowed.
template <typename T, unsigned Offset, unsigned Size,
T MaxValue = std::is_enum<T>::value
? T(0) // coupled with static_assert below