summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Grasman <kim.grasman@gmail.com>2017-01-29 15:14:17 +0100
committerVolodymyr Sapsai <vsapsai@users.noreply.github.com>2017-01-29 18:13:29 -0800
commit4a753782ce0992cf3085acc7a97deb9da1f36bb6 (patch)
tree79d1a3881ae9fa70762c847618f18f3926cad5b3
parent1007562363756627cdab664124e37669dfbf0c6b (diff)
Remove test expectation for char_traits
Clang no longer desugars as aggressively. As a consequence, char_traits no longer 'leaks' through the definition of std::string and is not noted in the why-comment for <string>.
-rw-r--r--tests/cxx/badinc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cxx/badinc.cc b/tests/cxx/badinc.cc
index 6dfc2e2..6973ad1 100644
--- a/tests/cxx/badinc.cc
+++ b/tests/cxx/badinc.cc
@@ -1988,7 +1988,7 @@ The full include-list for tests/cxx/badinc.cc:
#include <fstream> // for fstream
#include <list> // for list
#include <new> // for operator new
-#include <string> // for allocator, basic_string, basic_string<>::iterator, char_traits, operator+, string
+#include <string> // for allocator, basic_string, basic_string<>::iterator, operator+, string
#include <typeinfo> // for type_info
#include "tests/cxx/badinc-d1.h" // for D1CopyClassFn, D1Function, D1_Class, D1_CopyClass, D1_Enum, D1_Enum::D11, D1_I1_Typedef, D1_StructPtr, D1_Subclass, D1_TemplateClass, D1_TemplateStructWithDefaultParam, MACRO_CALLING_I4_FUNCTION
#include "tests/cxx/badinc-d4.h" // for D4_ClassForOperator, operator<<