Sam Blackshear
3d170a82c4
[clang] translate lambdas that capture `this`
...
Summary: Capturing this is implicit in the Clang AST.
Reviewed By: da319
Differential Revision: D6933848
fbshipit-source-id: 7ab9ae9
7 years ago
Sam Blackshear
14fa4aa7d9
[clang][dead stores] translate init-capture expressions
...
Summary:
Not translating these properly was causing false positives for the dead store analysis in cases like
```
int i = 0;
return [j = i]() { return j; }();
```
Reviewed By: da319
Differential Revision: D5731562
fbshipit-source-id: ae79ac8
7 years ago
Sam Blackshear
cb9c768c61
[clang] translate vars captured by lambda
...
Reviewed By: jeremydubreil
Differential Revision: D5482634
fbshipit-source-id: 86afb05
7 years ago
Mehdi Bouaziz
be0c53ddf3
[cpp] Fix failure with c++14 init-capture
...
Summary:
This used to fail
update-submodule: facebook-clang-plugins
Reviewed By: jvillard
Differential Revision: D5406280
fbshipit-source-id: c7233b3
7 years ago
Cristiano Calcagno
847c141912
[tests] Clean up test files shared between frontend and endtoend tests
...
Reviewed By: jberdine
Differential Revision: D3893900
fbshipit-source-id: 497effc
8 years ago