summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/debug-info-lambda.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Relax assumption about default method calling convention in new testReid Kleckner2018-09-141-1/+1
| | | | llvm-svn: 342281
* Relax alignment assumptions in a test after r342194Vedant Kumar2018-09-141-2/+2
| | | | | | | | | Don't hardcode align 8. Fixes a bot failure: http://lab.llvm.org:8011/builders/clang-cmake-armv8-full/builds/6373 llvm-svn: 342196
* [Sema] Remove location from implicit capture init exprVedant Kumar2018-09-131-0/+16
A lambda's closure is initialized when the lambda is declared. For implicit captures, the initialization code emitted from EmitLambdaExpr references source locations *within the lambda body* in the function containing the lambda. This results in a poor debugging experience: we step to the line containing the lambda, then into lambda, out again, over and over, until every capture's field is initialized. To improve stepping behavior, assign the starting location of the lambda to expressions which initialize an implicit capture within it. rdar://39807527 Differential Revision: https://reviews.llvm.org/D50927 llvm-svn: 342194
OpenPOWER on IntegriCloud