[PATCH] D116592: [clang-format] Missing space after cast in a macro
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 4 10:37:51 PST 2022
owenpan added a comment.
LGTM except for the nit.
================
Comment at: clang/lib/Format/TokenAnnotator.cpp:1887
+ // parentheses, look past it as these might be chained casts.
+ if (LeftOfParens->is(tok::r_paren) && !LeftOfParens->is(TT_CastRParen)) {
if (!LeftOfParens->MatchingParen ||
----------------
Nit.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116592/new/
https://reviews.llvm.org/D116592
More information about the cfe-commits
mailing list