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

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 23 12:41:02 PDT 2022


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

Thanks for the changes.



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


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

https://reviews.llvm.org/D130299



More information about the cfe-commits mailing list