]> granicus.if.org Git - clang/commit
Fix noexcept for delete expressions.
authorEli Friedman <eli.friedman@gmail.com>
Tue, 25 Jun 2013 01:24:22 +0000 (01:24 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Tue, 25 Jun 2013 01:24:22 +0000 (01:24 +0000)
commit72aa4c431b650800140457636c8481fd965f1534
tree0ef7d17615bbe78764c1e1102cbbbbc110c70014
parentfa09383ce9d6ea81a8fe86b2f26519c7a1c165fb
Fix noexcept for delete expressions.

Using "delete" on a pointer to an incomplete type can't throw.
While I'm here, clean up the signature of the canCalleeThrow() helper.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184810 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExceptionSpec.cpp
test/CXX/expr/expr.unary/expr.unary.noexcept/sema.cpp