[PATCH] D91245: [clang-format] Recognize c++ coroutine keywords as unary operator to avoid misleading pointer alignment
Chuanqi Xu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Dec 13 21:41:06 PST 2020
ChuanqiXu added a comment.
In D91245#2437518 <https://reviews.llvm.org/D91245#2437518>, @MyDeveloperDay wrote:
> What does `the behavior goes wrong` mean? why can't it be left aligned?
Because when we use PointerAlignment attribute, I think we mean that the pointer need to be aligned in declarations. However, `co_return *a;` is not a declaration.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91245/new/
https://reviews.llvm.org/D91245
More information about the cfe-commits
mailing list