]> granicus.if.org Git - clang/commit
Clean up some lambda conversion operator code, NFC
authorReid Kleckner <rnk@google.com>
Fri, 4 Aug 2017 22:38:06 +0000 (22:38 +0000)
committerReid Kleckner <rnk@google.com>
Fri, 4 Aug 2017 22:38:06 +0000 (22:38 +0000)
commit9ceccf9787cf4b20193d0624b032a1059761627d
tree82903e90e21c417c8ded67a47b7337a91a6a6eaa
parent0bebb0619b3476e7e89eb1af48d6590edb1b4ce6
Clean up some lambda conversion operator code, NFC

We don't need special handling in CodeGenFunction::GenerateCode for
lambda block pointer conversion operators anymore. The conversion
operator emission code immediately calls back to the generic
EmitFunctionBody.

Rename EmitLambdaStaticInvokeFunction to EmitLambdaStaticInvokeBody for
better consistency with the other Emit*Body methods.

I'm preparing to do something about PR28299, which touches this code.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@310145 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGClass.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenFunction.h