[llvm] 259238b - Fix Wdocumentation warning - use tparam for template parameters. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 29 11:25:27 PST 2020


Author: Simon Pilgrim
Date: 2020-02-29T19:25:02Z
New Revision: 259238baa659f85d57d6f9bb07a166b6dcf041dd

URL: https://github.com/llvm/llvm-project/commit/259238baa659f85d57d6f9bb07a166b6dcf041dd
DIFF: https://github.com/llvm/llvm-project/commit/259238baa659f85d57d6f9bb07a166b6dcf041dd.diff

LOG: Fix Wdocumentation warning - use tparam for template parameters. NFC.

Added: 
    

Modified: 
    llvm/include/llvm/ADT/CoalescingBitVector.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/ADT/CoalescingBitVector.h b/llvm/include/llvm/ADT/CoalescingBitVector.h
index 21b3bbbe2ff2..6fc81b312645 100644
--- a/llvm/include/llvm/ADT/CoalescingBitVector.h
+++ b/llvm/include/llvm/ADT/CoalescingBitVector.h
@@ -33,8 +33,8 @@ namespace llvm {
 /// Compared to SparseBitVector, CoalescingBitVector offers more predictable
 /// performance for non-sequential find() operations.
 ///
-/// \param IndexT - The type of the index into the bitvector.
-/// \param N - The first N coalesced intervals of set bits are stored in-place
+/// \tparam IndexT - The type of the index into the bitvector.
+/// \tparam N - The first N coalesced intervals of set bits are stored in-place
 /// (in the initial heap allocation).
 template <typename IndexT, unsigned N = 16> class CoalescingBitVector {
   static_assert(std::is_unsigned<IndexT>::value,


        


More information about the llvm-commits mailing list