aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/lambda-expressions-nested-linkage.cpp
AgeCommit message (Collapse)AuthorFilesLines
2015-01-22Emit DeferredDeclsToEmit in a DFS order.Rafael Espindola1-5/+8
Currently we emit DeferredDeclsToEmit in reverse order. This patch changes that. The advantages of the change are that * The output order is a bit closer to the source order. The change to test/CodeGenCXX/pod-member-memcpys.cpp is a good example. * If we decide to deffer more, it will not cause as large changes in the estcases as it would without this patch. llvm-svn: 226751
2015-01-21Use CHECK-LABEL when possible. NFC.Rafael Espindola1-6/+6
llvm-svn: 226743
2013-10-01Fix computation of linkage within nested lambdas.Faisal Vali1-0/+50
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] llvm-svn: 191727
2013-09-29Revert the linkage fix.Faisal Vali1-53/+0
I got a bunch of buildbot failures that i don't understand - sorry. llvm-svn: 191647
2013-09-29Fix computation of linkage within nested lambdas.Faisal Vali1-0/+53
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] llvm-svn: 191645