[PATCH] Fix PR20619 - failure to define implicit copy ctor of a by val capture in a generic lambda

Faisal Vali faisalv at gmail.com
Sat Dec 6 08:46:33 PST 2014


Modified the approach so that now we jump out to the right context temporarily while performing the initialization of the captures.

I'm not sure if I need to sync up the CurScope pointer here?

Thanks!

http://reviews.llvm.org/D6171

Files:
  include/clang/Sema/Sema.h
  lib/Sema/Sema.cpp
  lib/Sema/SemaExpr.cpp
  test/SemaCXX/cxx1y-generic-lambdas-pr20619.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6171.17021.patch
Type: text/x-patch
Size: 7413 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141206/c79273b7/attachment.bin>


More information about the cfe-commits mailing list