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 /clang/test/CXX/expr/expr.prim/expr.prim.lambda/p19.cpp | |
| parent | 236f405b1d1897253419e212ee8343c308e2259c (diff) | |
| download | bcm5719-llvm-1c813407976686f09096406b1d3141290dd93e61.tar.gz bcm5719-llvm-1c813407976686f09096406b1d3141290dd93e61.zip | |
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 'clang/test/CXX/expr/expr.prim/expr.prim.lambda/p19.cpp')
0 files changed, 0 insertions, 0 deletions

