summaryrefslogtreecommitdiff
path: root/include/llvm/ADT/SparseBitVector.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-05-12 21:50:43 +0000
committerBill Wendling <isanbard@gmail.com>2009-05-12 21:50:43 +0000
commit13bb81addfc15d9852711191696f5bd6e52f9552 (patch)
treef25cc36a8f5f6bed72b6015f19e5427730d782dc /include/llvm/ADT/SparseBitVector.h
parent378553cb079aba2b8dee5d52b5166316d4132d5a (diff)
downloadllvm-13bb81addfc15d9852711191696f5bd6e52f9552.tar.gz
llvm-13bb81addfc15d9852711191696f5bd6e52f9552.tar.bz2
llvm-13bb81addfc15d9852711191696f5bd6e52f9552.tar.xz
Use struct instead of class to make MCVS compile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71600 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/SparseBitVector.h')
-rw-r--r--include/llvm/ADT/SparseBitVector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/SparseBitVector.h b/include/llvm/ADT/SparseBitVector.h
index 72627b195c..6230135131 100644
--- a/include/llvm/ADT/SparseBitVector.h
+++ b/include/llvm/ADT/SparseBitVector.h
@@ -55,7 +55,7 @@ private:
unsigned ElementIndex;
BitWord Bits[BITWORDS_PER_ELEMENT];
// Needed for sentinels
- friend class ilist_sentinel_traits<SparseBitVectorElement>;
+ friend struct ilist_sentinel_traits<SparseBitVectorElement>;
SparseBitVectorElement() {
ElementIndex = ~0U;
memset(&Bits[0], 0, sizeof (BitWord) * BITWORDS_PER_ELEMENT);