[all-commits] [llvm/llvm-project] ba6e2c: [BitVector] Define BitWord as uintptr_t

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Oct 29 06:54:06 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ba6e2cb54446de272b817661add0483c0aec26d4
      https://github.com/llvm/llvm-project/commit/ba6e2cb54446de272b817661add0483c0aec26d4
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2019-10-29 (Tue, 29 Oct 2019)

  Changed paths:
    M llvm/include/llvm/ADT/BitVector.h

  Log Message:
  -----------
  [BitVector] Define BitWord as uintptr_t

Define BitVector::BitWord as uintptr_t instead of unsigned long, as long does not necessarily translates to a pointer size (especially on 64-bit Visual Studio).

Committed on behalf of @ekatz (Ehud Katz)

Differential Revision: https://reviews.llvm.org/D69336




More information about the All-commits mailing list