[PATCH] D145642: [clang-format] Annotate lambdas with requires clauses.
Emilia Dreamer via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 22 11:18:43 PDT 2023
rymiel marked an inline comment as done.
rymiel added inline comments.
================
Comment at: clang/unittests/Format/TokenAnnotatorTest.cpp:1352
+
+ // Both at once? Probably not even valid.
+ Tokens = annotate("[] <typename T> requires Foo<T> (T t) requires Bar<T> {}");
----------------
usaxena95 wrote:
> This is valid and is accepted by the compilers https://godbolt.org/z/EPbrWbrsv
Thank you!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145642/new/
https://reviews.llvm.org/D145642
More information about the cfe-commits
mailing list