[PATCH] D103380: [C++20] Support for lambdas in unevaluated context

Christopher Di Bella via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 31 09:40:42 PDT 2021


cjdb accepted this revision.
cjdb added a comment.
This revision is now accepted and ready to land.

LGTM, but I'm neither a Clang nor core expert (and I'm not a maintainer), so please wait for others' approval.



================
Comment at: clang/test/CXX/expr/expr.prim/expr.prim.lambda/p2-unevaluated.cpp:8
+
+static_assert(True<int>);
+
----------------
Nit: please move this under line 3.


================
Comment at: clang/test/CXX/expr/expr.prim/expr.prim.lambda/p2-unevaluated.cpp:21
+
+Nothing<[]() { return 0; }()> nothing;
+
----------------
Nit: please move this under line 3.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103380



More information about the cfe-commits mailing list