[C++11] Now that the users are gone, rip out the duplicated traits from type_traits.h

Simplify the remaining ones a bit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203249 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer
2014-03-07 15:54:23 +00:00
parent 8eccde8617
commit 1dd31112ff
2 changed files with 24 additions and 175 deletions

View File

@@ -116,7 +116,8 @@ TYPED_TEST(ValueMapTest, OperationsWork) {
template<typename ExpectedType, typename VarType>
void CompileAssertHasType(VarType) {
static_assert((is_same<ExpectedType, VarType>::value), "Not the same type");
static_assert(std::is_same<ExpectedType, VarType>::value,
"Not the same type");
}
TYPED_TEST(ValueMapTest, Iteration) {