search for: updateint

Displaying 4 results from an estimated 4 matches for "updateint".

Did you mean: updateidt
2018 Apr 05
1
llvm::PointerIntPair -- is this by design or a bug?
I do agree that sign-extension is the right thing to do. Unlike bit-fields, llvm::PointerIntPair has asserts checking that the int value is within range. So if you assign an out of range value, it should fail with an assertion: llvm::PointerIntPair<SomeType*, 3, int> pip; pip.setInt(7); // can be made to fail as the valid range // of signed 3-bit values is [-4:3] The above
2019 Sep 03
2
SourceMgr vs EXPENSIVE_CHECKS
...5: In file included from /home/jayfoad2/git/llvm-project/llvm/include/llvm/Support/SourceMgr.h:20: In file included from /home/jayfoad2/git/llvm-project/llvm/include/llvm/ADT/PointerUnion.h:18: /home/jayfoad2/git/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:75:19: error: no member named 'updateInt' in 'llvm::PointerIntPairInfo<void *, 2, llvm::pointer_union_detail::PointerUnionUIntTraits<std::__debug::vector<unsigned char, std::allocator<unsigned char> > *, std::__debug::vector<unsigned short, std::allocator<unsigned short> > *, std::__debug::vector<u...
2019 Sep 03
2
SourceMgr vs EXPENSIVE_CHECKS
...ad2/git/llvm-project/llvm/include/llvm/Support/SourceMgr.h:20: >> In file included from >> /home/jayfoad2/git/llvm-project/llvm/include/llvm/ADT/PointerUnion.h:18: >> /home/jayfoad2/git/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:75:19: >> error: no member named 'updateInt' in 'llvm::PointerIntPairInfo<void >> *, 2, llvm::pointer_union_detail::PointerUnionUIntTraits<std::__debug::vector<unsigned >> char, std::allocator<unsigned char> > *, std::__debug::vector<unsigned >> short, std::allocator<unsigned short> > *...
2019 Oct 02
2
SourceMgr vs EXPENSIVE_CHECKS
...vm/Support/SourceMgr.h:20: >> >> In file included from >> >> /home/jayfoad2/git/llvm-project/llvm/include/llvm/ADT/PointerUnion.h:18: >> >> /home/jayfoad2/git/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:75:19: >> >> error: no member named 'updateInt' in 'llvm::PointerIntPairInfo<void >> >> *, 2, llvm::pointer_union_detail::PointerUnionUIntTraits<std::__debug::vector<unsigned >> >> char, std::allocator<unsigned char> > *, std::__debug::vector<unsigned >> >> short, std::allocator&l...