From: Richard Smith Date: Thu, 20 Jun 2013 23:01:44 +0000 (+0000) Subject: Fix copy-pasted comment. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a80d1b4c5ecf1a93bcf3b1438e0e03cf2ff34b39;p=clang Fix copy-pasted comment. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184494 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaCXX/libstdcxx_pointer_return_false_hack.cpp b/test/SemaCXX/libstdcxx_pointer_return_false_hack.cpp index ad936095ee..17e1548ac5 100644 --- a/test/SemaCXX/libstdcxx_pointer_return_false_hack.cpp +++ b/test/SemaCXX/libstdcxx_pointer_return_false_hack.cpp @@ -1,9 +1,9 @@ // 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 implementation. std::common_type -// relies on pre-standard rules for decltype(), in which it doesn't -// produce reference types so frequently. +// an issue with libstdc++-4.2's implementation. +// The code in question returns 'false' from a function with a pointer +// return type, which is ill-formed in C++11. #ifdef BE_THE_HEADER