[PATCH] D133659: [Clang] P1169R4: static operator()

Roy Jacobson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 12 11:18:30 PDT 2022


royjacobson marked 6 inline comments as done.
royjacobson added inline comments.


================
Comment at: clang/lib/Parse/ParseExprCXX.cpp:1265
+  if (Intro.hasLambdaCapture())
+    P.Diag(StaticLoc, diag::err_static_lambda_captures);
+}
----------------
cor3ntin wrote:
> We might want to add a note showing where the capture list is.
I added a note, but the captures list is always just before the static specifier, so I'm not sure how useful it is. WDYT?



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133659



More information about the cfe-commits mailing list