[PATCH] D91245: [clang-format] Recognize c++ coroutine keywords as unary operator to avoid misleading pointer alignment
MyDeveloperDay via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 14 07:33:32 PST 2020
MyDeveloperDay added inline comments.
================
Comment at: clang/unittests/Format/FormatTest.cpp:7766
+ verifyFormat("co_await *a;", PASLeftStyle);
+ verifyFormat("co_yield *a", PASLeftStyle);
}
----------------
maybe add, just to clarify it.
verifyFormat("return *a", PASLeftStyle);
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91245/new/
https://reviews.llvm.org/D91245
More information about the cfe-commits
mailing list