summaryrefslogtreecommitdiffstats
path: root/clang/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
commit0caa39474bfc9ca1b4ce64b3318ddaa1d8975232 (patch)
treeed4816aeb2e1961c1a24293ddf74e1c8826a0d43 /clang/lib/Sema/SemaExceptionSpec.cpp
parent201ba5fa00c789edd594791176f6771f10e85dd1 (diff)
downloadbcm5719-llvm-0caa39474bfc9ca1b4ce64b3318ddaa1d8975232.tar.gz
bcm5719-llvm-0caa39474bfc9ca1b4ce64b3318ddaa1d8975232.zip
Implements boxed expressions for Objective-C. <rdar://problem/10194391>
llvm-svn: 155082
Diffstat (limited to 'clang/lib/Sema/SemaExceptionSpec.cpp')
-rw-r--r--clang/lib/Sema/SemaExceptionSpec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaExceptionSpec.cpp b/clang/lib/Sema/SemaExceptionSpec.cpp
index 14b24341d09..ec33f0ac8e6 100644
--- a/clang/lib/Sema/SemaExceptionSpec.cpp
+++ b/clang/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.
OpenPOWER on IntegriCloud