summaryrefslogtreecommitdiff
path: root/lib/Sema/SemaExceptionSpec.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-01-01 05:57:51 +0000
committerAlp Toker <alp@nuanti.com>2014-01-01 05:57:51 +0000
commit12e1f5dc4f3636eab2b7e5038bbe1d34014c2b71 (patch)
tree39aba27e167e239e00dc023a13afd8cef6985d0b /lib/Sema/SemaExceptionSpec.cpp
parentca70f4fa1c4eae6a47c97c773b8e63803a43a90c (diff)
downloadclang-12e1f5dc4f3636eab2b7e5038bbe1d34014c2b71.tar.gz
Eliminate UnaryTypeTraitExpr
Remove UnaryTypeTraitExpr and switch all remaining type trait related handling over to TypeTraitExpr. The UTT/BTT/TT enum prefix and evaluation code is retained pending further cleanup. This is part of the ongoing work to unify type traits following the removal of BinaryTypeTraitExpr in r197273. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198271 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExceptionSpec.cpp')
-rw-r--r--lib/Sema/SemaExceptionSpec.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Sema/SemaExceptionSpec.cpp b/lib/Sema/SemaExceptionSpec.cpp
index 72ff109af7..81fd3f9631 100644
--- a/lib/Sema/SemaExceptionSpec.cpp
+++ b/lib/Sema/SemaExceptionSpec.cpp
@@ -1085,7 +1085,6 @@ CanThrowResult Sema::canThrow(const Expr *E) {
case Expr::PredefinedExprClass:
case Expr::SizeOfPackExprClass:
case Expr::StringLiteralClass:
- case Expr::UnaryTypeTraitExprClass:
// These expressions can never throw.
return CT_Cannot;