]> granicus.if.org Git - clang/commit
Fix computation of linkage within nested lambdas.
authorFaisal Vali <faisalv@yahoo.com>
Sun, 29 Sep 2013 20:00:15 +0000 (20:00 +0000)
committerFaisal Vali <faisalv@yahoo.com>
Sun, 29 Sep 2013 20:00:15 +0000 (20:00 +0000)
commit99229cd81825a9c1df20ed8971d10608e5793521
tree8fc372e13131c96b2b11a6275571aa18f8ed45c9
parent7454cdc86063230bda021f718ead66c23f2dd5e2
Fix computation of linkage within nested lambdas.
 When nested lambdas are used in NSDMI's - this prevents infinite recursion.

See http://llvm-reviews.chandlerc.com/D1783 for Doug's approval regarding the code, and then request for some tests.

[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@191645 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Decl.cpp
test/CodeGenCXX/lambda-expressions-nested-linkage.cpp [new file with mode: 0644]
test/SemaCXX/lambda-expressions.cpp