]> granicus.if.org Git - clang/commit
Fix regression from r184810.
authorEli Friedman <eli.friedman@gmail.com>
Tue, 25 Jun 2013 01:55:41 +0000 (01:55 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Tue, 25 Jun 2013 01:55:41 +0000 (01:55 +0000)
commitf9b4fea4bf6cebe614e49ab4b582dcf4bf0a6806
tree4a51631223f5384a4bc524099208c489a911d5f5
parentfdf137b9073aa52423183fe886d072bc3b7d3889
Fix regression from r184810.

Specifically, CallExpr::getCalleeDecl() can return null, so make sure to
handle that correctly.

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