87c29321c4b819d8a10f362f42fb7f7226820041 |
|
20-Jun-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Add a workaround for a libstdc++-4.2 <tr1/hashtable> bug. This header uses return false; in a function returning a pointer. 'false' was a null pointer constant in C++98 but is not in C++11. Punch a very small hole in the initialization rules in C++11 mode to allow this specific case in system headers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184395 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/libstdcxx_pointer_return_false_hack.cpp
|