summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-02-09 08:52:43 +0000
committerDouglas Gregor <dgregor@apple.com>2012-02-09 08:52:43 +0000
commit410d6af9949ba556985c3b0ba5ea186cdecf2e02 (patch)
tree334422878ee2b9a05f514f575290ca8cd6cbc93c /clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
parent656bc62a73f204286c8dc21fb5ed418b9c39b2fb (diff)
downloadbcm5719-llvm-410d6af9949ba556985c3b0ba5ea186cdecf2e02.tar.gz
bcm5719-llvm-410d6af9949ba556985c3b0ba5ea186cdecf2e02.zip
Restore the appropriate lexical declaration context for a lambda's
function call operator (to the lambda class). This allows us to IRgen calls to simple (non-capturing) lambdas, e.g., [](int i, int j) -> int { return i + j; }(1, 2) Eli will be providing test cases as he brings up more IRgen. llvm-svn: 150166
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud