[PATCH] D119184: [clang] [concepts] Check constrained-auto return types for void-returning functions

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 16 14:32:07 PST 2022


rsmith added inline comments.


================
Comment at: clang/lib/Sema/SemaStmt.cpp:3766
+                                            Expr *&RetExpr, const AutoType *AT,
+                                            bool HasReturnStmt) {
+  // If this is the conversion function for a lambda, we choose to deduce its
----------------
It looks like you ended up not using the new parameter for anything. Did you intend to / do you still need it?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119184



More information about the cfe-commits mailing list