diff options
| author | Alp Toker <alp@nuanti.com> | 2013-12-13 20:49:58 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2013-12-13 20:49:58 +0000 |
| commit | cbb29af710b6536a7e901a9980aa89c4df7d8d43 (patch) | |
| tree | 5dd9a07284256900ffae7fb98c936a2380499d4a /lib/AST/ExprClassification.cpp | |
| parent | c614b2d1a9b89b73f991b454be1299bd0adeed01 (diff) | |
| download | clang-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/AST/ExprClassification.cpp')
| -rw-r--r-- | lib/AST/ExprClassification.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/AST/ExprClassification.cpp b/lib/AST/ExprClassification.cpp index 54f77efef0..bea6d565dd 100644 --- a/lib/AST/ExprClassification.cpp +++ b/lib/AST/ExprClassification.cpp @@ -166,7 +166,6 @@ static Cl::Kinds ClassifyInternal(ASTContext &Ctx, const Expr *E) { case Expr::CXXNoexceptExprClass: case Expr::CXXScalarValueInitExprClass: case Expr::UnaryTypeTraitExprClass: - case Expr::BinaryTypeTraitExprClass: case Expr::TypeTraitExprClass: case Expr::ArrayTypeTraitExprClass: case Expr::ExpressionTraitExprClass: |
