summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorFaisal Vali <faisalv@yahoo.com>2013-10-01 02:51:53 +0000
committerFaisal Vali <faisalv@yahoo.com>2013-10-01 02:51:53 +0000
commitde8eaa2bf22ab0a59118289ee8b97f6ac6a97196 (patch)
treec7e73878b189c6e8a4a315da91e75f6fc45079c8 /lib/CodeGen/CodeGenFunction.cpp
parent91d3f338e446e654392184e68f940c77b5c98f39 (diff)
downloadclang-de8eaa2bf22ab0a59118289ee8b97f6ac6a97196.tar.gz
clang-de8eaa2bf22ab0a59118289ee8b97f6ac6a97196.tar.bz2
clang-de8eaa2bf22ab0a59118289ee8b97f6ac6a97196.tar.xz
Fix computation of linkage within nested lambdas.
When nested C++11 lambdas are used in NSDMI's - this patch prevents infinite recursion by computing the linkage of any nested lambda by determining the linkage of the outermost enclosing lambda (which might inherit its linkage from its parent). See http://llvm-reviews.chandlerc.com/D1783 for Doug's approval. [On a related note, I need this patch so as to pass tests of transformations of nested lambdas returned from member functions] git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191727 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions