summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-08-04 22:38:06 +0000
committerReid Kleckner <rnk@google.com>2017-08-04 22:38:06 +0000
commit2d3c421f1cf63d746ed78f5be075e7712091c154 (patch)
treeef8fab0a80f26299c4c57f2d6d49275dde426e29 /clang/lib/CodeGen/CodeGenFunction.h
parentb41f03e768282b44519d7cce763e1879b02b8471 (diff)
downloadbcm5719-llvm-2d3c421f1cf63d746ed78f5be075e7712091c154.tar.gz
bcm5719-llvm-2d3c421f1cf63d746ed78f5be075e7712091c154.zip
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. llvm-svn: 310145
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 06ea5fff748..4b8e7c08a91 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -1643,10 +1643,9 @@ public:
void EmitForwardingCallToLambda(const CXXMethodDecl *LambdaCallOperator,
CallArgList &CallArgs);
- void EmitLambdaToBlockPointerBody(FunctionArgList &Args);
void EmitLambdaBlockInvokeBody();
void EmitLambdaDelegatingInvokeBody(const CXXMethodDecl *MD);
- void EmitLambdaStaticInvokeFunction(const CXXMethodDecl *MD);
+ void EmitLambdaStaticInvokeBody(const CXXMethodDecl *MD);
void EmitAsanPrologueOrEpilogue(bool Prologue);
/// \brief Emit the unified return block, trying to avoid its emission when
OpenPOWER on IntegriCloud