aboutsummaryrefslogtreecommitdiff
path: root/llvm
diff options
context:
space:
mode:
authorBruno Ricci <riccibrun@gmail.com>2020-07-06 22:37:30 +0100
committerBruno Ricci <riccibrun@gmail.com>2020-07-06 22:41:40 +0100
commit02946de3802d3bc65bc9f2eb9b8d4969b5a7add8 (patch)
tree4195371882431c734e3fc6928f1b7de4fa60128a /llvm
parentf7a7efbf88b72b4aa6bd95a1ded6dacd2237f2f8 (diff)
downloadllvm-02946de3802d3bc65bc9f2eb9b8d4969b5a7add8.zip
llvm-02946de3802d3bc65bc9f2eb9b8d4969b5a7add8.tar.gz
llvm-02946de3802d3bc65bc9f2eb9b8d4969b5a7add8.tar.bz2
[Support][NFC] Fix Wdocumentation warning in ADT/Bitfields.h
\tparam is used for template parameters instead of \param.
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/ADT/Bitfields.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/include/llvm/ADT/Bitfields.h b/llvm/include/llvm/ADT/Bitfields.h
index 68b1549..9891b46 100644
--- a/llvm/include/llvm/ADT/Bitfields.h
+++ b/llvm/include/llvm/ADT/Bitfields.h
@@ -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