History log of /external/clang/test/SemaCXX/libstdcxx_pointer_return_false_hack.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a80d1b4c5ecf1a93bcf3b1438e0e03cf2ff34b39 21-Jun-2013 Richard Smith <richard-llvm@metafoo.co.uk> Fix copy-pasted comment.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184494 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/libstdcxx_pointer_return_false_hack.cpp
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