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)
commit0423b76be13eeca6663d278a636e1cb963da3091
tree4eee3f92eeae28aaf930ca406d11337ce71564ae
parent36c17ee5a16ea66f048beaea6ba351708a1a218b
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.

llvm-svn: 184810
clang/lib/Sema/SemaExceptionSpec.cpp
clang/test/CXX/expr/expr.unary/expr.unary.noexcept/sema.cpp