diff options
author | Eric Fiselier <eric@efcs.ca> | 2015-08-23 02:56:05 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2015-08-23 02:56:05 +0000 |
commit | 1c813407976686f09096406b1d3141290dd93e61 (patch) | |
tree | ad9b879581984e7d4a1cafeef6b174d3fc7c9b10 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 236f405b1d1897253419e212ee8343c308e2259c (diff) | |
download | llvm-1c813407976686f09096406b1d3141290dd93e61.zip llvm-1c813407976686f09096406b1d3141290dd93e61.tar.gz llvm-1c813407976686f09096406b1d3141290dd93e61.tar.bz2 |
Recommit rL245802: Cleanup fancy pointer rebinding in list using __rebind_pointer.
Currently we need an #ifdef branch every time we use pointer traits to rebind a pointer because
it is done differently in C++11 and C++03. This patch introduces the __rebind_pointer utility to
clean this up.
Also add a test that list and it's iterators can be instantiated with incomplete element types.
llvm-svn: 245806
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions