[PATCH] D123319: Change how we handle auto return types for lambda operator() to be consistent with gcc
Paul Robinson via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 1 07:10:37 PDT 2022
probinson added a comment.
Seems like for an "auto"-returning function/lambda with a definition, the front-end should have deduced the return type, and so we should emit that in the DWARF, even if we end up emitting DWARF with both a declaration and a separate definition.
I accept that a member function declaration (no definition) returning "auto" is not hugely useful, although I reserve the right to make pedantic grousing noises. :)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123319/new/
https://reviews.llvm.org/D123319
More information about the cfe-commits
mailing list