r214050 - When looking for temporary dtors while building the CFG, do not walk into

Bill Wendling isanbard at gmail.com
Mon Aug 4 11:27:58 PDT 2014


Done. Thanks!

-bw

On Jul 31, 2014, at 6:43 PM, Richard Smith <richard at metafoo.co.uk> wrote:

> On Sun, Jul 27, 2014 at 4:13 AM, İsmail Dönmez <ismail at donmez.ws> wrote:
> 
> 
> 
> On Sun, Jul 27, 2014 at 8:12 AM, Richard Smith <richard-llvm at metafoo.co.uk> wrote:
> Author: rsmith
> Date: Sun Jul 27 00:12:49 2014
> New Revision: 214050
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=214050&view=rev
> Log:
> When looking for temporary dtors while building the CFG, do not walk into
> lambda expressions (other than their capture initializers) nor blocks. Do walk
> into default argument expressions and default initializer expressions.
> 
> These bugs were causing us to produce broken CFGs whenever a lambda expression
> was used to initialize a libstdc++ std::function object!
> 
> Modified:
>     cfe/trunk/include/clang/AST/ExprCXX.h
>     cfe/trunk/lib/Analysis/CFG.cpp
>     cfe/trunk/test/SemaCXX/return-noreturn.cpp
> 
> I guess this should go in the 3.5 branch. 
> 
> I agree.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140804/f8f2ba9d/attachment.html>


More information about the cfe-commits mailing list