[PATCH] D69336: [BitVector] Define BitWord as uintptr_t

Ehud Katz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 23 14:37:47 PDT 2019


ekatz updated this revision to Diff 226184.
ekatz retitled this revision from "[Support] Make BitVector::BitWord size_t" to "[BitVector] Define BitWord as uintptr_t".
ekatz edited the summary of this revision.

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69336/new/

https://reviews.llvm.org/D69336

Files:
  llvm/include/llvm/ADT/BitVector.h


Index: llvm/include/llvm/ADT/BitVector.h
===================================================================
--- llvm/include/llvm/ADT/BitVector.h
+++ llvm/include/llvm/ADT/BitVector.h
@@ -71,7 +71,7 @@
 };
 
 class BitVector {
-  typedef unsigned long BitWord;
+  typedef uintptr_t BitWord;
 
   enum { BITWORD_SIZE = (unsigned)sizeof(BitWord) * CHAR_BIT };
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69336.226184.patch
Type: text/x-patch
Size: 361 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191023/d8d3ab00/attachment.bin>


More information about the llvm-commits mailing list