[PATCH] D89559: PR47372: Fix Lambda invoker calling conventions
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 16 10:15:42 PDT 2020
rjmccall added a comment.
I agree that it seems reasonable to preserve an explicit CC from the lambda on the converted function pointer.
================
Comment at: clang/lib/Sema/SemaLambda.cpp:1268
+calcLambdaConversionFunctionCallConv(Sema &S,
+ const FunctionProtoType *CallOpProto) {
+ CallingConv DefaultFree = S.Context.getDefaultCallingConvention(
----------------
I don't think we use `calc` as a prefix anywhere else in the compiler. Maybe `get`?
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89559/new/
https://reviews.llvm.org/D89559
More information about the cfe-commits
mailing list