summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
Diffstat (limited to 'clang')
-rw-r--r--clang/test/SemaCXX/libstdcxx_pointer_return_false_hack.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/SemaCXX/libstdcxx_pointer_return_false_hack.cpp b/clang/test/SemaCXX/libstdcxx_pointer_return_false_hack.cpp
index ad936095eec..17e1548ac50 100644
--- a/clang/test/SemaCXX/libstdcxx_pointer_return_false_hack.cpp
+++ b/clang/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 <type_traits> 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 <tr1/hashtable> 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
OpenPOWER on IntegriCloud