summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGClass.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-02-16 01:06:16 +0000
committerDouglas Gregor <dgregor@apple.com>2012-02-16 01:06:16 +0000
commitd3b672c38545de350a09d06fa19bd0f7589d9345 (patch)
treea36c3c7254e9210b3893f775752d255c5f6fea6b /clang/lib/CodeGen/CGClass.cpp
parent515a60daff46d2a227f42d01da299b54aa232e84 (diff)
downloadbcm5719-llvm-d3b672c38545de350a09d06fa19bd0f7589d9345.tar.gz
bcm5719-llvm-d3b672c38545de350a09d06fa19bd0f7589d9345.zip
Implicitly define a lambda's conversion functions (to function
pointers and block pointers). We use dummy definitions to keep the invariant that an implicit, used definition has a body; IR generation will substitute the actual contents, since they can't be represented as C++. For the block pointer case, compute the copy-initialization needed to capture the lambda object in the block, which IR generation will need later. llvm-svn: 150645
Diffstat (limited to 'clang/lib/CodeGen/CGClass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud