Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [analyzer] Refer to capture field to determine if capture is reference. | Devin Coughlin | 2015-11-15 | 1 | -0/+72 |
| | | | | | | | | | | | | | The analyzer incorrectly treats captures as references if either the original captured variable is a reference or the variable is captured by reference. This causes the analyzer to crash when capturing a reference type by copy (PR24914). Fix this by refering solely to the capture field to determine when a DeclRefExpr for a lambda capture should be treated as a reference type. https://llvm.org/bugs/show_bug.cgi?id=24914 rdar://problem/23524412 llvm-svn: 253157 | ||||
* | [analyzer] Fix lambdas that are capturing constants. | Gabor Horvath | 2015-10-27 | 1 | -0/+15 |
| | | | | llvm-svn: 251407 | ||||
* | [analyzer] Fix another crash when analyzing lambda functions. | Gabor Horvath | 2015-10-27 | 1 | -0/+6 |
| | | | | llvm-svn: 251404 | ||||
* | [analyzer] Added a missing test case for r251289. | Gabor Horvath | 2015-10-26 | 1 | -0/+13 |
| | | | | llvm-svn: 251313 | ||||
* | [Static Analyzer] Lambda support. | Gabor Horvath | 2015-09-11 | 1 | -1/+173 |
| | | | | | | Differential Revision: http://reviews.llvm.org/D12652 llvm-svn: 247426 | ||||
* | Per latest drafting, switch to implementing init-captures as if by declaring | Richard Smith | 2013-09-28 | 1 | -1/+1 |
| | | | | | | and capturing a variable declaration, and complete the implementation of them. llvm-svn: 191605 | ||||
* | Include lambda capture init expressions in CFG. | Ted Kremenek | 2012-04-12 | 1 | -0/+20 |
llvm-svn: 154611 |