Jack Huang
Jack Huang
The problem is that `determineStarAmpUsage` categorizes the star token as a binary operator. In my opinion, we can remove the `tok::r_brace` condition because star tokens will not be binary operators...
@mydeveloperday You are right. Thanks a lot.
Revision: https://reviews.llvm.org/D127873
Hi, @AaronBallman. I hope to fix this issue.
Revision: https://reviews.llvm.org/D129061
@vfdff Sorry, I cannot reproduce this issue. Could you provide test.cpp and the version of clang-format? Thanks!
I guess the issue is not related to the length of the variables. After the `#else` macro, clang-format will wrongly annotate the `{` as an Unknown token instead of a...
Revision: https://reviews.llvm.org/D132911
@zzyyyl Thanks for reminding me! You are right. The `*` token here should be `UnaryOperator`. I think the configuration, `--style="{PointerAlignment: Left}"`, will not change the alignment of the `*` token...
I think this problem has been fixed by https://github.com/llvm/llvm-project/commit/ef71383b0cfbacdbebf495015f6ead5294bf7759.