summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/lambda-expressions-nested-linkage.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Emit DeferredDeclsToEmit in a DFS order.Rafael Espindola2015-01-221-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
* Use CHECK-LABEL when possible. NFC.Rafael Espindola2015-01-211-6/+6
| | | | llvm-svn: 226743
* Fix computation of linkage within nested lambdas.Faisal Vali2013-10-011-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
* Revert the linkage fix.Faisal Vali2013-09-291-53/+0
| | | | | | I got a bunch of buildbot failures that i don't understand - sorry. llvm-svn: 191647
* Fix computation of linkage within nested lambdas.Faisal Vali2013-09-291-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
OpenPOWER on IntegriCloud