[PATCH] D140696: [clang][dataflow] Treat unions as structs.

Yitzhak Mandelbaum via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 28 05:35:13 PST 2022


ymandel added a comment.

> Since (afaik) lambdas don't have these constructors, the input to builtinTransferInitializer shouldn't come from a lambda.

I thought they might because they need to store captured variables. But, godbolt doesn't show any custom constructors so seems they don't.  I have no idea how they handle captured variables but that's hardly the only mystery about lambdas. :)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140696/new/

https://reviews.llvm.org/D140696



More information about the cfe-commits mailing list