================
@@ -554,6 +555,8 @@ getLambdaProperties(const MatchFinder::MatchResult &Result)
{
LP.Callable.Materialization = getCallableMaterialization(Result);
LP.Callable.Decl =
getCallMethodDecl(Result, LP.Callable.Type, LP.Callable.Materialization);
+ if (LP.Callable.Decl)
+ LP.Callable.DoesReturn = !LP.Callable.Decl->getReturnType()->isVoidType();
----------------
PiotrZSL wrote:
Maybe: getReturnType().getCanonicalType().getTypePtr()
https://github.com/llvm/llvm-project/pull/69207
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits