We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49d53a2 commit 5b310a1Copy full SHA for 5b310a1
clang/lib/AST/Interp/InterpFrame.cpp
@@ -158,7 +158,9 @@ void InterpFrame::describe(llvm::raw_ostream &OS) const {
158
// diagnose them. The 'in call to' diagnostics for them add no value to the
159
// user _and_ it doesn't generally work since the argument types don't always
160
// match the function prototype. Just ignore them.
161
- if (const auto *F = getFunction(); F && F->isBuiltin())
+ // Similarly, for lambda static invokers, we would just print __invoke().
162
+ if (const auto *F = getFunction();
163
+ F && (F->isBuiltin() || F->isLambdaStaticInvoker()))
164
return;
165
166
const FunctionDecl *F = getCallee();
0 commit comments