r184395 - Add a workaround for a libstdc++-4.2 <tr1/hashtable> bug. This header uses

Chandler Carruth chandlerc at google.com
Wed Jun 19 23:36:39 PDT 2013


On Wed, Jun 19, 2013 at 7:18 PM, Richard Smith
<richard-llvm at metafoo.co.uk>wrote:

> Added: cfe/trunk/test/SemaCXX/libstdcxx_pointer_return_false_hack.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/libstdcxx_pointer_return_false_hack.cpp?rev=184395&view=auto
>
> ==============================================================================
> --- cfe/trunk/test/SemaCXX/libstdcxx_pointer_return_false_hack.cpp (added)
> +++ cfe/trunk/test/SemaCXX/libstdcxx_pointer_return_false_hack.cpp Wed Jun
> 19 21:18:31 2013
> @@ -0,0 +1,34 @@
> +// RUN: %clang_cc1 -fsyntax-only %s -std=c++11 -verify
> +
> +// This is a test for an egregious hack in Clang that works around
> +// an issue with GCC's <type_traits> implementation. std::common_type
> +// relies on pre-standard rules for decltype(), in which it doesn't
> +// produce reference types so frequently.
>

This comment looks like a stale one from the test you copied for this one.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130619/ee9f2838/attachment.html>


More information about the cfe-commits mailing list