[PATCH] D151954: [clang-format] Fix overlapping whitespace replacements before PPDirective

Paul Kirth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 7 11:12:23 PDT 2023


paulkirth added a comment.

This patch seems to introduce some significant regressions to formatting. I've filed https://github.com/llvm/llvm-project/issues/63170 with some candidate code. I'll try to reduce the case as I can, but I'm guessing something is incorrect w/ how the indentation level is tracked, since we see includes being incorrectly indented and lots of lines w/ whitespace.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151954/new/

https://reviews.llvm.org/D151954



More information about the cfe-commits mailing list