diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-06-20 23:01:44 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-06-20 23:01:44 +0000 |
| commit | 7a5b940952312fe2ebbe91ab9524558f391c2abc (patch) | |
| tree | 4ee3aec701423d2b7adc57f5be3ccdf4b5f9c145 | |
| parent | 6fc7ad1107b837584c920c9f355db83fb2f00a75 (diff) | |
| download | bcm5719-llvm-7a5b940952312fe2ebbe91ab9524558f391c2abc.tar.gz bcm5719-llvm-7a5b940952312fe2ebbe91ab9524558f391c2abc.zip | |
Fix copy-pasted comment.
llvm-svn: 184494
| -rw-r--r-- | clang/test/SemaCXX/libstdcxx_pointer_return_false_hack.cpp | 6 |
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 |

