summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/lambdas.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [analyzer] Refer to capture field to determine if capture is reference.Devin Coughlin2015-11-151-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 Horvath2015-10-271-0/+15
| | | | llvm-svn: 251407
* [analyzer] Fix another crash when analyzing lambda functions.Gabor Horvath2015-10-271-0/+6
| | | | llvm-svn: 251404
* [analyzer] Added a missing test case for r251289.Gabor Horvath2015-10-261-0/+13
| | | | llvm-svn: 251313
* [Static Analyzer] Lambda support.Gabor Horvath2015-09-111-1/+173
| | | | | | Differential Revision: http://reviews.llvm.org/D12652 llvm-svn: 247426
* Per latest drafting, switch to implementing init-captures as if by declaringRichard Smith2013-09-281-1/+1
| | | | | | and capturing a variable declaration, and complete the implementation of them. llvm-svn: 191605
* Include lambda capture init expressions in CFG.Ted Kremenek2012-04-121-0/+20
llvm-svn: 154611
OpenPOWER on IntegriCloud