darwin added a comment. In D97137#2579669 <https://reviews.llvm.org/D97137#2579669>, @HazardyKnusperkeks wrote:
> You should mark comments as done, if they are. > > Does your modification maybe add something to the alignment which is not a > declaration? > > int a; > double b; > a * b; > > How is that formatted? Yeah unlikely that something like that is in code, but > it could be if `operator*` has side effects and one does not need the result. Good question. I've tested the original code and the modified code, both will generate the same result: int a; double b; a* b; I understand the expected format should be: int a; double b; a* b; Maybe we can register another bug to track it. For the side effects, I couldn't answer this yet since I am no expert. Can someone take a deep look of it? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D97137/new/ https://reviews.llvm.org/D97137 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits