OSDN Git Service

[BitVector] Improve the description of the BitVector::clear to say it removes the...
authorCraig Topper <craig.topper@gmail.com>
Fri, 5 May 2017 22:46:40 +0000 (22:46 +0000)
committerCraig Topper <craig.topper@gmail.com>
Fri, 5 May 2017 22:46:40 +0000 (22:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302315 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/BitVector.h

index 315d52a..e835f15 100644 (file)
@@ -280,7 +280,7 @@ public:
     return -1;
   }
 
-  /// clear - Clear all bits.
+  /// clear - Removes all bits from the bitvector. Does not change capacity.
   void clear() {
     Size = 0;
   }