aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaExceptionSpec.cpp
diff options
context:
space:
mode:
authorPatrick Beard <pcbeard@mac.com>2012-04-19 00:25:12 +0000
committerPatrick Beard <pcbeard@mac.com>2012-04-19 00:25:12 +0000
commiteb382ec1507cf2c8c12d7443d0b67c076223aec6 (patch)
tree9296219a7c8f1a8d8ca6080b8291e5620a6ab6e2 /lib/Sema/SemaExceptionSpec.cpp
parent13bffc532bafd45d4a77867993c1afb83c7661be (diff)
Implements boxed expressions for Objective-C. <rdar://problem/10194391>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155082 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExceptionSpec.cpp')
-rw-r--r--lib/Sema/SemaExceptionSpec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaExceptionSpec.cpp b/lib/Sema/SemaExceptionSpec.cpp
index 14b24341d0..ec33f0ac8e 100644
--- a/lib/Sema/SemaExceptionSpec.cpp
+++ b/lib/Sema/SemaExceptionSpec.cpp
@@ -964,7 +964,7 @@ CanThrowResult Sema::canThrow(const Expr *E) {
// possibility.
case Expr::ObjCArrayLiteralClass:
case Expr::ObjCDictionaryLiteralClass:
- case Expr::ObjCNumericLiteralClass:
+ case Expr::ObjCBoxedExprClass:
return CT_Can;
// Many other things have subexpressions, so we have to test those.