expressions + C++11 lambdas == cooooool!!!
authorGreg Clayton <gclayton@apple.com>
Wed, 30 Jan 2013 22:57:34 +0000 (22:57 +0000)
committerGreg Clayton <gclayton@apple.com>
Wed, 30 Jan 2013 22:57:34 +0000 (22:57 +0000)
commit85e62eca660491a5b1a31bfe1e4b0efe7a5b93a5
treefdf4190fc16c21e2c71915e59268ca26cd4e894e
parent9449ec956ffde44c12a496276a2eb7e464b35b6d
expressions + C++11 lambdas == cooooool!!!

C++11 lambdas that don't capture anything can be used as static callback functions!

Heavily modified this python module to be able to not require a dylib in order to traverse the heap allocations.

Re-implemented the ptr_refs, objc_refs, malloc_info and cstr_refs to use complex expressions that use lambdas to do all static callback function work.

llvm-svn: 173989
lldb/examples/darwin/heap_find/heap.py