[PATCH] D153745: [clang-format] Fix bugs in annotating r_paren as C-style cast
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 27 16:20:36 PDT 2023
owenpan added a comment.
In D153745#4448113 <https://reviews.llvm.org/D153745#4448113>, @rymiel wrote:
> It appears other operators aren't affected, after D153641 <https://reviews.llvm.org/D153641> I would have not been surprised if && had become unary :)
`&&` doesn't become unary because of `isUnaryOperator` on line 2432 in the annotator.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153745/new/
https://reviews.llvm.org/D153745
More information about the cfe-commits
mailing list