[PATCH] D130299: [clang-format] FIX: Misannotation 'auto' as trailing return type in lambdas

Marek Kurdej via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 23 21:41:04 PDT 2022


curdeius accepted this revision.
curdeius added inline comments.


================
Comment at: clang/unittests/Format/TokenAnnotatorTest.cpp:752
 
+TEST_F(TokenAnnotatorTest, UnderstandsTrailingReturnTypeAutoInLabmdas) {
+  auto Tokens = annotate("[]() -> auto {}");
----------------
owenpan wrote:
> HazardyKnusperkeks wrote:
> > I'd just merge it with the test above.
> > I'd just merge it with the test above.
> 
> +1.



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

https://reviews.llvm.org/D130299



More information about the cfe-commits mailing list