MyDeveloperDay added inline comments.
================ Comment at: clang/unittests/Format/FormatTest.cpp:22748-22749 +TEST_F(FormatTest, CoRoutinereturn) { + verifyFormat("int x = co_return foo();"); + verifyFormat("int x = (co_return foo());"); + verifyFormat("co_return (42);"); ---------------- ChuanqiXu wrote: > These two statements looks invalid. do you mean these two? ``` verifyFormat("int x = co_return foo();"); verifyFormat("int x = (co_return foo());"); ``` I lifted these from {D34225} CHANGES SINCE LAST ACTION https://reviews.llvm.org/D114859/new/ https://reviews.llvm.org/D114859 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits