summaryrefslogtreecommitdiff
path: root/lib/Serialization/ASTWriter.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2013-12-13 20:49:58 +0000
committerAlp Toker <alp@nuanti.com>2013-12-13 20:49:58 +0000
commitcbb29af710b6536a7e901a9980aa89c4df7d8d43 (patch)
tree5dd9a07284256900ffae7fb98c936a2380499d4a /lib/Serialization/ASTWriter.cpp
parentc614b2d1a9b89b73f991b454be1299bd0adeed01 (diff)
downloadclang-cbb29af710b6536a7e901a9980aa89c4df7d8d43.tar.gz
clang-cbb29af710b6536a7e901a9980aa89c4df7d8d43.tar.bz2
clang-cbb29af710b6536a7e901a9980aa89c4df7d8d43.tar.xz
Eliminate BinaryTypeTraitExpr
There's nothing special about type traits accepting two arguments. This commit eliminates BinaryTypeTraitExpr and switches all related handling over to TypeTraitExpr. Also fixes a CodeGen failure with variadic type traits appearing in a non-constant expression. The BTT/TT prefix and evaluation code is retained as-is for now but will soon be further cleaned up. This is part of the ongoing work to unify type traits. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197273 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ASTWriter.cpp')
-rw-r--r--lib/Serialization/ASTWriter.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Serialization/ASTWriter.cpp b/lib/Serialization/ASTWriter.cpp
index 56eddb77e0..0bad0941db 100644
--- a/lib/Serialization/ASTWriter.cpp
+++ b/lib/Serialization/ASTWriter.cpp
@@ -776,7 +776,6 @@ static void AddStmtsExprs(llvm::BitstreamWriter &Stream,
RECORD(EXPR_CXX_UNARY_TYPE_TRAIT);
RECORD(EXPR_CXX_NOEXCEPT);
RECORD(EXPR_OPAQUE_VALUE);
- RECORD(EXPR_BINARY_TYPE_TRAIT);
RECORD(EXPR_PACK_EXPANSION);
RECORD(EXPR_SIZEOF_PACK);
RECORD(EXPR_SUBST_NON_TYPE_TEMPLATE_PARM_PACK);