On Sun, Jul 27, 2014 at 4:13 AM, İsmail Dönmez <[email protected]> wrote:
> > > > On Sun, Jul 27, 2014 at 8:12 AM, Richard Smith <[email protected] > > 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.
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
