]> granicus.if.org Git - clang/commit
When checking whether a return statement returns a stack-local
authorDouglas Gregor <dgregor@apple.com>
Thu, 21 Oct 2010 16:21:08 +0000 (16:21 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 21 Oct 2010 16:21:08 +0000 (16:21 +0000)
commit9ee5ee84f0ad8246bff105786a128c7a909fdf12
tree06a3ead5e6b360364eb1c126c85318976981b361
parent4f74d021d044fb9a3ef8cfd047c108ba7887abfe
When checking whether a return statement returns a stack-local
variable, handle conditional operators involving a
throw-expression. Fixes GCC DejaGNU's g++.dg/template/cond4.C.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117027 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaChecking.cpp