[clang-format] Fix a bug in removing braces for the LLVM style
When an l_brace is wrapped and the line above it ends with a comment, the annotator adds ColumnLimit to the TotalLength of the l_brace, so the actual column position of the l_brace must be adjusted accordingly. Fixes #57376. Differential Revision: https://reviews.llvm.org/D132805
parent
bb6a4373
Please register or sign in to comment